|
@@ -18,12 +18,16 @@ import { getStatusBarHeight } from '../utils/StatusBarHeight';
|
|
|
import C from 'rn-class';
|
|
|
import PlayerControls from '../components/PlayerControls';
|
|
|
import PlayerContents from '../components/PlayerContents';
|
|
|
+import { getInset } from 'react-native-safe-area-view';
|
|
|
|
|
|
const { width, height } = Dimensions.get('window');
|
|
|
const statusBarHeight = getStatusBarHeight();
|
|
|
-const minHeight = height*0.1;
|
|
|
-const midBound = height - height/2.5;
|
|
|
-const upperBound = midBound + minHeight;
|
|
|
+const minHeight = height * 0.1;
|
|
|
+const midBound = height - height / 2.5;
|
|
|
+const upperBound =
|
|
|
+ height > 600
|
|
|
+ ?height * 0.75 - getInset('bottom')
|
|
|
+ :height * 0.70;
|
|
|
|
|
|
const {
|
|
|
Value,
|