diff options
| author | Adam Soltys <[email protected]> | 2026-09-27 23:58:44 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-09-27 23:58:44 -0700 |
| commit | 318fef4880373fe5c12c366cd8b1c322771714e6 (patch) | |
| tree | 847bf858e7f9fba0b3defab17d26e8731012464a /android/app/src/main/AndroidManifest.xml | |
| parent | aad978dba8d611cbf58c5c6c52183e31afe67af1 (diff) | |
| download | coinosv3-318fef4880373fe5c12c366cd8b1c322771714e6.tar.gz coinosv3-318fef4880373fe5c12c366cd8b1c322771714e6.zip | |
The Android app's system bars follow the system theme, and the page's theme colour follows the app's.
One dark colour for both bars gave white navigation icons over a light page
under gesture navigation. The wrapper (1.9, versionCode 10) now uses the
page background in light mode and the dark theme colour in dark mode, for
the status bar and the navigation bar alike. The page updates its
theme-color meta when its own theme is applied, so a PWA's status bar and
the wrapper's follow the same switch.
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01VhUKyXKtsJ67QAFfb7QR9D
Diffstat (limited to 'android/app/src/main/AndroidManifest.xml')
| -rw-r--r-- | android/app/src/main/AndroidManifest.xml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index 36f9d1e..b0dddbd 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -31,20 +31,20 @@ android:name="android.support.customtabs.trusted.DEFAULT_URL" android:value="https://v3.coinos.io/" /> <!-- System-bar colors: without these the TWA status bar defaults to - white. Match the PWA's dark theme_color (#15171a). Light + dark - variants both dark so it's consistent whatever the system theme. --> + white. Light follows the page background, dark the PWA's + theme_color, so the bar icons keep their contrast either way. --> <meta-data android:name="android.support.customtabs.trusted.STATUS_BAR_COLOR" android:resource="@color/statusBarColor" /> <meta-data android:name="android.support.customtabs.trusted.STATUS_BAR_COLOR_DARK" - android:resource="@color/statusBarColor" /> + android:resource="@color/statusBarColorDark" /> <meta-data android:name="android.support.customtabs.trusted.NAVIGATION_BAR_COLOR" android:resource="@color/navigationBarColor" /> <meta-data android:name="android.support.customtabs.trusted.NAVIGATION_BAR_COLOR_DARK" - android:resource="@color/navigationBarColor" /> + android:resource="@color/navigationBarColorDark" /> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> |
