From c4f8985be9a438a229aeb8f77b09d95b69eb4463 Mon Sep 17 00:00:00 2001 From: daniel31x13 Date: Mon, 16 Mar 2026 12:48:13 -0400 Subject: [PATCH] fix: android navigation bar color --- apps/mobile/app.json | 12 +++++++----- apps/mobile/package.json | 1 + yarn.lock | 16 ++++++++++++++++ 3 files changed, 24 insertions(+), 5 deletions(-) diff --git a/apps/mobile/app.json b/apps/mobile/app.json index b5041dce..50d93953 100644 --- a/apps/mobile/app.json +++ b/apps/mobile/app.json @@ -2,7 +2,7 @@ "expo": { "name": "Linkwarden", "slug": "linkwarden", - "version": "1.2.0", + "version": "1.2.1", "orientation": "portrait", "icon": "./assets/images/icon.png", "scheme": "linkwarden", @@ -90,6 +90,12 @@ "project": "react-native", "organization": "linkwarden" } + ], + [ + "expo-navigation-bar", + { + "barStyle": "dark-content" + } ] ], "experiments": { @@ -100,10 +106,6 @@ "barStyle": "dark-content", "translucent": false }, - "androidNavigationBar": { - "backgroundColor": "#ffffff", - "barStyle": "dark-content" - }, "extra": { "router": { "origin": false diff --git a/apps/mobile/package.json b/apps/mobile/package.json index 7e8b6bc0..d9975898 100644 --- a/apps/mobile/package.json +++ b/apps/mobile/package.json @@ -40,6 +40,7 @@ "expo-font": "~14.0.11", "expo-haptics": "~15.0.8", "expo-linking": "~8.0.11", + "expo-navigation-bar": "~5.0.10", "expo-router": "~6.0.23", "expo-secure-store": "~15.0.8", "expo-share-intent": "^5.1.1", diff --git a/yarn.lock b/yarn.lock index 269681fc..8ab22a58 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5265,6 +5265,7 @@ __metadata: expo-font: "npm:~14.0.11" expo-haptics: "npm:~15.0.8" expo-linking: "npm:~8.0.11" + expo-navigation-bar: "npm:~5.0.10" expo-router: "npm:~6.0.23" expo-secure-store: "npm:~15.0.8" expo-share-intent: "npm:^5.1.1" @@ -12917,6 +12918,21 @@ __metadata: languageName: node linkType: hard +"expo-navigation-bar@npm:~5.0.10": + version: 5.0.10 + resolution: "expo-navigation-bar@npm:5.0.10" + dependencies: + "@react-native/normalize-colors": "npm:0.81.5" + debug: "npm:^4.3.2" + react-native-is-edge-to-edge: "npm:^1.2.1" + peerDependencies: + expo: "*" + react: "*" + react-native: "*" + checksum: 10c0/13810f4b79556c68c9cff40194e18a3df66be383c843ad079fbbbe59dfe3a6f3a9cec4f78d51a30d0300da2820c1934b20439b81d67f74013c19b0c7f2e2cbee + languageName: node + linkType: hard + "expo-router@npm:~6.0.23": version: 6.0.23 resolution: "expo-router@npm:6.0.23"