fix: Fixes UI layout regression on Android 14 (#2971)
This commit is contained in:
committed by
GitHub
parent
db074710f4
commit
ef56933667
@@ -49,7 +49,7 @@ const MobileWebAppContents = ({ destroyAndReload }: { destroyAndReload: () => vo
|
|||||||
|
|
||||||
const screenHeight = Dimensions.get('screen').height
|
const screenHeight = Dimensions.get('screen').height
|
||||||
const androidVersion = Platform.OS === 'android' ? Platform.Version : 0
|
const androidVersion = Platform.OS === 'android' ? Platform.Version : 0
|
||||||
const useFlexLayout = Platform.OS === 'ios' || androidVersion < 34
|
const useFlexLayout = Platform.OS === 'ios' || androidVersion < 35
|
||||||
const [webViewContainerHeight, setWebViewContainerHeight] = useState(screenHeight)
|
const [webViewContainerHeight, setWebViewContainerHeight] = useState(screenHeight)
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
"version": "3.201.9",
|
"version": "3.201.9",
|
||||||
"license": "AGPL-3.0",
|
"license": "AGPL-3.0",
|
||||||
"main": "dist/app.js",
|
"main": "dist/app.js",
|
||||||
"author": "Standard Notes.",
|
"author": "Standard Notes",
|
||||||
"private": true,
|
"private": true,
|
||||||
"files": [
|
"files": [
|
||||||
"dist"
|
"dist"
|
||||||
|
|||||||
Reference in New Issue
Block a user