From 50138fe6cb27d39d72c62277f50dd4a3d667ccb5 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 25 Jun 2026 03:27:36 +0000 Subject: [PATCH] feat: distinct status-bar icon for the always-on relay service Notification small icons are rendered by the system as flat, alpha-only silhouettes, so the always-on relay-connection service showed the exact same solid gem as real notifications (DMs, zaps, mentions). The persistent service therefore kept reading as a fresh notification. Add an outlined (hollow) gem variant, `amethyst_service`, and point the foreground service notification at it so it's clearly distinguishable at a glance while staying on-brand. Co-Authored-By: Claude Opus 4.8 Claude-Session: https://claude.ai/code/session_0141R1Km7YsA2miFoxLkXLQk --- .../notifications/NotificationRelayService.kt | 2 +- .../main/res/drawable/amethyst_service.xml | 21 +++++++++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 amethyst/src/main/res/drawable/amethyst_service.xml diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/service/notifications/NotificationRelayService.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/service/notifications/NotificationRelayService.kt index dec5bcecb1..de2b6c2694 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/service/notifications/NotificationRelayService.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/service/notifications/NotificationRelayService.kt @@ -342,7 +342,7 @@ class NotificationRelayService : Service() { .Builder(this, CHANNEL_ID) .setContentTitle(getString(R.string.always_on_notif_title)) .setContentText(contentText) - .setSmallIcon(R.drawable.amethyst) + .setSmallIcon(R.drawable.amethyst_service) .setContentIntent(pendingIntent) .setOngoing(true) .setSilent(true) diff --git a/amethyst/src/main/res/drawable/amethyst_service.xml b/amethyst/src/main/res/drawable/amethyst_service.xml new file mode 100644 index 0000000000..e69cb5ce8e --- /dev/null +++ b/amethyst/src/main/res/drawable/amethyst_service.xml @@ -0,0 +1,21 @@ + + + +