Procházet zdrojové kódy

Merge pull request #2976 from saghul/bottom-sheet-orientation

[RN] Support landscape and portrait orientations in BottomSheet
master
Zoltan Bettenbuk před 7 roky
rodič
revize
5fd0f95a89
Žádný účet není propojen s e-mailovou adresou tvůrce revize

+ 4
- 0
react/features/base/dialog/components/BottomSheet.native.js Zobrazit soubor

53
                 animationType = { 'slide' }
53
                 animationType = { 'slide' }
54
                 key = 'modal'
54
                 key = 'modal'
55
                 onRequestClose = { this._onCancel }
55
                 onRequestClose = { this._onCancel }
56
+                supportedOrientations = { [
57
+                    'landscape',
58
+                    'portrait'
59
+                ] }
56
                 transparent = { true }
60
                 transparent = { true }
57
                 visible = { true }>
61
                 visible = { true }>
58
                 <View style = { styles.container }>
62
                 <View style = { styles.container }>

Načítá se…
Zrušit
Uložit