mirror of
https://github.com/tapframe/NuvioStreaming.git
synced 2026-04-21 16:51:57 +00:00
custom alert orientation bug fix
This commit is contained in:
parent
1b990aa6ec
commit
6bdc998496
4 changed files with 18 additions and 16 deletions
|
|
@ -86,6 +86,7 @@ export const CustomAlert = ({
|
|||
onRequestClose={onClose}
|
||||
statusBarTranslucent={true}
|
||||
hardwareAccelerated={true}
|
||||
supportedOrientations={['portrait', 'landscape', 'landscape-left', 'landscape-right']}
|
||||
>
|
||||
<Animated.View
|
||||
style={[
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ const MajorUpdateOverlay: React.FC<Props> = ({ visible, latestTag, releaseNotes,
|
|||
if (!visible) return null;
|
||||
|
||||
return (
|
||||
<Modal visible={visible} transparent animationType="fade" statusBarTranslucent presentationStyle="overFullScreen">
|
||||
<Modal visible={visible} transparent animationType="fade" statusBarTranslucent presentationStyle="overFullScreen" supportedOrientations={['portrait', 'landscape', 'landscape-left', 'landscape-right']}>
|
||||
<View style={styles.backdrop}>
|
||||
<View style={[styles.card, { backgroundColor: currentTheme.colors.darkBackground, borderColor: currentTheme.colors.elevation3 }]}>
|
||||
<View style={styles.header}>
|
||||
|
|
|
|||
|
|
@ -87,6 +87,7 @@ const UpdatePopup: React.FC<UpdatePopupProps> = ({
|
|||
animationType="fade"
|
||||
statusBarTranslucent={true}
|
||||
presentationStyle="overFullScreen"
|
||||
supportedOrientations={['portrait', 'landscape', 'landscape-left', 'landscape-right']}
|
||||
>
|
||||
<View style={styles.overlay}>
|
||||
<View style={[
|
||||
|
|
|
|||
|
|
@ -4081,7 +4081,7 @@ const AndroidVideoPlayer: React.FC = () => {
|
|||
transparent
|
||||
animationType="fade"
|
||||
onRequestClose={handleErrorExit}
|
||||
supportedOrientations={['landscape', 'portrait']}
|
||||
supportedOrientations={['landscape', 'portrait', 'landscape-left', 'landscape-right']}
|
||||
statusBarTranslucent={true}
|
||||
>
|
||||
<View style={{
|
||||
|
|
|
|||
Loading…
Reference in a new issue