aboutsummaryrefslogtreecommitdiffstats
path: root/android
diff options
context:
space:
mode:
Diffstat (limited to 'android')
-rw-r--r--android/app/build.gradle4
-rw-r--r--android/app/src/main/AndroidManifest.xml8
-rw-r--r--android/app/src/main/res/values/colors.xml12
3 files changed, 14 insertions, 10 deletions
diff --git a/android/app/build.gradle b/android/app/build.gradle
index 5fa19ba..928f12d 100644
--- a/android/app/build.gradle
+++ b/android/app/build.gradle
@@ -29,8 +29,8 @@ android {
applicationId 'io.coinos.app'
minSdk 24
targetSdk 35
- versionCode 9
- versionName '1.8'
+ versionCode 10
+ versionName '1.9'
}
// Two builds of the same wallet.
//
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" />
diff --git a/android/app/src/main/res/values/colors.xml b/android/app/src/main/res/values/colors.xml
index 42e2db8..d444318 100644
--- a/android/app/src/main/res/values/colors.xml
+++ b/android/app/src/main/res/values/colors.xml
@@ -1,8 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="ic_launcher_background">#FFFFFF</color>
- <!-- TWA system-bar colors: match the PWA's theme_color (#15171a) so the
- status bar isn't the androidbrowserhelper default white. -->
- <color name="statusBarColor">#15171A</color>
- <color name="navigationBarColor">#15171A</color>
+ <!-- TWA system-bar colors, per system theme: the page background in
+ light mode (dark icons) and the PWA's theme_color in dark mode (light
+ icons). One dark colour for both used to give white nav icons over a
+ light page under gesture navigation. -->
+ <color name="statusBarColor">#EEF0F3</color>
+ <color name="navigationBarColor">#EEF0F3</color>
+ <color name="statusBarColorDark">#15171A</color>
+ <color name="navigationBarColorDark">#15171A</color>
</resources>