fix: Fixes UI layout regression on Android 14 (#2971)

This commit is contained in:
Antonella Sgarlatta
2026-01-26 11:38:31 -03:00
committed by GitHub
parent db074710f4
commit ef56933667
2 changed files with 2 additions and 2 deletions

View File

@@ -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(() => {

View File

@@ -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"