mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-16 19:57:52 +01:00
fix dialogs not opening in landscape
This commit is contained in:
@@ -42,6 +42,13 @@ const BaseDialog = ({
|
||||
transparent={true}
|
||||
animated
|
||||
statusBarTranslucent={statusBarTranslucent}
|
||||
supportedOrientations={[
|
||||
'portrait',
|
||||
'portrait-upside-down',
|
||||
'landscape',
|
||||
'landscape-left',
|
||||
'landscape-right'
|
||||
]}
|
||||
onShow={() => {
|
||||
if (onShow) {
|
||||
onShow();
|
||||
|
||||
@@ -282,6 +282,13 @@ const MergeEditor = () => {
|
||||
onRequestClose={() => {
|
||||
close();
|
||||
}}
|
||||
supportedOrientations={[
|
||||
'portrait',
|
||||
'portrait-upside-down',
|
||||
'landscape',
|
||||
'landscape-left',
|
||||
'landscape-right'
|
||||
]}
|
||||
visible={true}>
|
||||
<SafeAreaView
|
||||
style={{
|
||||
|
||||
Reference in New Issue
Block a user