ui: drop the stale key-type phrase and pin the DrawableRes param target
All checks were successful
android-ci / android (pull_request) Successful in 14m54s

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.
This commit is contained in:
apk-dev 2026-10-29 00:15:47 -04:00
commit 7d86fd6a03
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -61,7 +61,7 @@ import uniffi.onionwire_sdk.SendState
@Composable @Composable
fun ChatScreen( fun ChatScreen(
vm: WireViewModel, 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, peer: String,
title: String, title: String,
fingerprint: String, fingerprint: String,

View file

@ -40,7 +40,7 @@ import com.siriusdevops.onionwire.ui.OwSize
* wallets, rotation, wipe, and — behind progressive disclosure — the SDK line * wallets, rotation, wipe, and — behind progressive disclosure — the SDK line
* that used to sit under the roster. * 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), Chats("Chats", R.drawable.ic_ow_chat),
Wallet("Wallet", R.drawable.ic_ow_wallet), Wallet("Wallet", R.drawable.ic_ow_wallet),
// Tab labels stay short: the destination is Node & Settings (that is the // Tab labels stay short: the destination is Node & Settings (that is the