From 7d86fd6a0336d27006c0adec52afd9e3af95596f Mon Sep 17 00:00:00 2001 From: apk-dev Date: Thu, 29 Oct 2026 00:15:47 -0400 Subject: [PATCH] ui: drop the stale key-type phrase and pin the DrawableRes param target Two nits the plan's own greps would have flagged: - `ChatScreen`'s `peer` KDoc still spelled out the key type. It is an internal comment, but the acceptance grep for the removed identity copy (`ed25519 pubkey`) should come back empty across `ui/`, not empty-except- a-comment. - `OwTab`'s `@DrawableRes` is now `@param:`-targeted, which silences Kotlin's KT-73255 warning about the annotation moving to the backing field. --- .../src/main/java/com/siriusdevops/onionwire/ui/ChatScreen.kt | 2 +- .../com/siriusdevops/onionwire/ui/components/BottomTabBar.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/android/app/src/main/java/com/siriusdevops/onionwire/ui/ChatScreen.kt b/android/app/src/main/java/com/siriusdevops/onionwire/ui/ChatScreen.kt index 84ccd0b..c4f2487 100644 --- a/android/app/src/main/java/com/siriusdevops/onionwire/ui/ChatScreen.kt +++ b/android/app/src/main/java/com/siriusdevops/onionwire/ui/ChatScreen.kt @@ -61,7 +61,7 @@ import uniffi.onionwire_sdk.SendState @Composable fun ChatScreen( vm: WireViewModel, - /** The peer's ed25519 pubkey hex — the key the open chat's poller runs for. */ + /** The peer's public key, hex — the key the open chat's poller runs for. */ peer: String, title: String, fingerprint: String, diff --git a/android/app/src/main/java/com/siriusdevops/onionwire/ui/components/BottomTabBar.kt b/android/app/src/main/java/com/siriusdevops/onionwire/ui/components/BottomTabBar.kt index 61ebdfd..f0127a0 100644 --- a/android/app/src/main/java/com/siriusdevops/onionwire/ui/components/BottomTabBar.kt +++ b/android/app/src/main/java/com/siriusdevops/onionwire/ui/components/BottomTabBar.kt @@ -40,7 +40,7 @@ import com.siriusdevops.onionwire.ui.OwSize * wallets, rotation, wipe, and — behind progressive disclosure — the SDK line * that used to sit under the roster. */ -enum class OwTab(val label: String, @DrawableRes val icon: Int) { +enum class OwTab(val label: String, @param:DrawableRes val icon: Int) { Chats("Chats", R.drawable.ic_ow_chat), Wallet("Wallet", R.drawable.ic_ow_wallet), // Tab labels stay short: the destination is Node & Settings (that is the