ui: About rows, and drop the removed copy from the roster's own KDoc

The SDK/key-type footnote moved to Node and Settings, so it should not survive
as a quoted string in ui/ either — the About card now shows IDENTITY ed25519 and
SDK <version> as label plus mono value, which is the design system's idiom for a
machine fact. Same reasoning for the KDoc: it describes the change instead of
pasting the strings that were removed.
This commit is contained in:
agent 2026-10-29 00:06:07 -04:00
commit a7b7792b3f
No known key found for this signature in database
2 changed files with 15 additions and 15 deletions

View file

@ -64,18 +64,18 @@ import uniffi.onionwire_sdk.FriendInfo
* *
* Three things changed from the alpha build and they are deliberate: * Three things changed from the alpha build and they are deliberate:
* *
* - The identity block is one compact bar. The `YOU (stable forever)` card, the * - The identity block is one compact bar. The old expandable card, the version
* `sdk … · identity = ed25519 pubkey` line and the keep-alive paragraph are * and key-type footnote and the keep-alive paragraph are gone from here: the
* gone from here — the SDK line is on Node & Settings, and the keep-alive * technical lines moved to Node & Settings, and reachability is a status row
* state is a status row there too. A home screen does not explain the * there too. A home screen does not explain the transport before it shows the
* transport before it shows the people. * people.
* - The five text-link actions are gone. Invite and Add are the two first-class * - The five text-link actions are gone. Invite and Add are the two first-class
* actions (in the empty state, and in the bar); the rare and destructive ones * actions (in the empty state, and in the bar); the rare and destructive ones
* live behind `⋮`. * live behind the overflow menu.
* - The empty state says what to do next, with the two buttons that do it. * - The empty state says what to do next, with the two buttons that do it.
* *
* Behaviour is unchanged: `invite`, `onPaste`, `onOpenChat`, `onRotate`, * Behaviour is unchanged: every callback here is the ViewModel call the old
* `onWipe` and `onLock` are the same ViewModel calls the old screen made. * screen made — this screen only decides where the entry points sit.
*/ */
@Composable @Composable
fun RosterScreen( fun RosterScreen(

View file

@ -135,16 +135,16 @@ fun SettingsScreen(
OwCard(Modifier.fillMaxWidth()) { OwCard(Modifier.fillMaxWidth()) {
OwSectionTitle("About") OwSectionTitle("About")
Spacer(Modifier.height(6.dp)) Spacer(Modifier.height(8.dp))
Text( Row(verticalAlignment = Alignment.CenterVertically) {
"identity = ed25519 pubkey", Label("IDENTITY")
style = MaterialTheme.typography.bodySmall, Spacer(Modifier.width(10.dp))
color = OwColors.TextSecondary, Mono("ed25519")
) }
Spacer(Modifier.height(4.dp)) Spacer(Modifier.height(4.dp))
Row(verticalAlignment = Alignment.CenterVertically) { Row(verticalAlignment = Alignment.CenterVertically) {
Label("SDK") Label("SDK")
Spacer(Modifier.width(8.dp)) Spacer(Modifier.width(10.dp))
Mono(sdkVersion) Mono(sdkVersion)
} }
Spacer(Modifier.height(10.dp)) Spacer(Modifier.height(10.dp))