|
@@ -17,7 +17,6 @@ import AbstractDialog, {
|
17
|
17
|
type State
|
18
|
18
|
} from '../AbstractDialog';
|
19
|
19
|
import { brandedDialog as styles } from './styles';
|
20
|
|
-import { Platform } from '../../../react';
|
21
|
20
|
|
22
|
21
|
export type Props = AbstractProps & {
|
23
|
22
|
|
|
@@ -56,7 +55,7 @@ class BaseDialog<P: Props, S: State> extends AbstractDialog<P, S> {
|
56
|
55
|
return (
|
57
|
56
|
<TouchableWithoutFeedback>
|
58
|
57
|
<KeyboardAvoidingView
|
59
|
|
- behavior = { Platform.OS === 'ios' ? 'padding' : 'height' }
|
|
58
|
+ behavior = 'height'
|
60
|
59
|
style = { [
|
61
|
60
|
styles.overlay,
|
62
|
61
|
style
|