From 80c35ac477abca4cea6f418357e11db88ba37cd1 Mon Sep 17 00:00:00 2001 From: Turtuvshin Date: Mon, 25 Mar 2024 13:10:59 +0800 Subject: [PATCH] fix bootsplash and geojson crash errors --- android/app/src/main/AndroidManifest.xml | 2 +- android/app/src/main/res/values/styles.xml | 9 +++++---- src/utils/Geo.js | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index 176efcb..efb7834 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -12,7 +12,7 @@ - diff --git a/src/utils/Geo.js b/src/utils/Geo.js index 04a6825..18db384 100644 --- a/src/utils/Geo.js +++ b/src/utils/Geo.js @@ -118,7 +118,7 @@ export default class GeoUtil { resolve(position); } - googleAddress.setAttribute('position', position); + googleAddress?.setAttribute('position', position); // save last known location set('location', googleAddress.all());