appstore: align watch detail buttons with ordering and theming rules
- Commit
3b8f0e0ac82f06eb3f66d48a94391ec7fc97ed97- Author
- Vayun Mathur <[email protected]>
- When
- 2026-12-06 04:27 UTC (7 hours ago)
- Parents
7768290
the watch catalog already ends with Open on phone; its icon now tints to the button content color. No Delete: this is a catalog/install list, not a detail screen, and watch apps are uninstalled through the system, not the store. Verified: :appstore:lint green (plus :appstore:testDevUnitTest where the module has watch-relevant tests in this sweep).
Diff
appstore/src/main/java/com/vayunmathur/appstore/ui/WearMainActivity.kt
diff --git a/appstore/src/main/java/com/vayunmathur/appstore/ui/WearMainActivity.kt b/appstore/src/main/java/com/vayunmathur/appstore/ui/WearMainActivity.ktindex 6f0b295670..6f5859ae2c 100644--- a/appstore/src/main/java/com/vayunmathur/appstore/ui/WearMainActivity.kt+++ b/appstore/src/main/java/com/vayunmathur/appstore/ui/WearMainActivity.kt@@ -13,6 +13,7 @@ import androidx.wear.compose.foundation.lazy.ScalingLazyColumn import androidx.wear.compose.foundation.lazy.items import androidx.wear.compose.foundation.lazy.rememberScalingLazyListState import androidx.wear.compose.material.Chip+import androidx.wear.compose.material.LocalContentColor import androidx.wear.compose.material.ChipDefaults import androidx.wear.compose.material.MaterialTheme import androidx.wear.compose.material.Text@@ -114,7 +115,7 @@ internal fun WearStoreContent( items(rows, key = { it.app.packageName }) { row -> WearRowChip(row.app.name, row.phase, row.installRequested) { onInstall(row) } }- wearOpenOnPhoneItem(onClick = { scope.launch { com.vayunmathur.appstore.sync.WearLinkBridge.get(context).sendMessage("/appstore/open-on-phone", ByteArray(0)) } }, icon = { IconMobileArrowRight(tint = androidx.compose.ui.graphics.Color.White) })+ wearOpenOnPhoneItem(onClick = { scope.launch { com.vayunmathur.appstore.sync.WearLinkBridge.get(context).sendMessage("/appstore/open-on-phone", ByteArray(0)) } }, icon = { IconMobileArrowRight(tint = LocalContentColor.current) }) } }