From 6527e66c0790a22e87d9c0b0b7a858b1f6090679 Mon Sep 17 00:00:00 2001 From: Dorian Date: Fri, 19 Jun 2026 18:12:38 +0100 Subject: [PATCH] fix(android): visible metallic icon ring at circle edge Move the badge ring into the background layer (brightened grey->white so it reads on #0A0A0A) at ~0.96 so it sits at the masked-circle edge; foreground is just the white grid. Also honor SHIP_COMPANION in the pre-push hook. Co-Authored-By: Claude Opus 4.8 (1M context) --- .githooks/pre-push | 3 ++ .../res/drawable/ic_launcher_background.xml | 34 +++++++++++++++++-- .../res/drawable/ic_launcher_foreground.xml | 30 +++------------- 3 files changed, 38 insertions(+), 29 deletions(-) diff --git a/.githooks/pre-push b/.githooks/pre-push index 973aa11a..4c840e35 100755 --- a/.githooks/pre-push +++ b/.githooks/pre-push @@ -11,6 +11,9 @@ set -euo pipefail ROOT="$(git rev-parse --show-toplevel)" cd "$ROOT" +# ship-companion.sh already (re)published the APK for this push — don't redo it. +[ -n "${SHIP_COMPANION:-}" ] && exit 0 + PUSH_MAIN=0; RANGE_OLD=""; RANGE_NEW="" while read -r _local_ref local_sha remote_ref remote_sha; do if [ "${remote_ref##*/}" = "main" ]; then diff --git a/Android/app/src/main/res/drawable/ic_launcher_background.xml b/Android/app/src/main/res/drawable/ic_launcher_background.xml index 539a3dc0..46594f87 100644 --- a/Android/app/src/main/res/drawable/ic_launcher_background.xml +++ b/Android/app/src/main/res/drawable/ic_launcher_background.xml @@ -1,10 +1,38 @@ + + android:viewportWidth="752" + android:viewportHeight="752"> + + android:pathData="M0,0h752v752H0z" /> + + + + + + + + + + + diff --git a/Android/app/src/main/res/drawable/ic_launcher_foreground.xml b/Android/app/src/main/res/drawable/ic_launcher_foreground.xml index fcd986e4..95acf404 100644 --- a/Android/app/src/main/res/drawable/ic_launcher_foreground.xml +++ b/Android/app/src/main/res/drawable/ic_launcher_foreground.xml @@ -1,9 +1,7 @@ - + - - - - - - - - - - - - + android:scaleX="0.96" + android:scaleY="0.96">