Modern Apps git

← Modern-Apps.git

findfamily: align watch detail buttons with ordering and theming rules

Commit
b395a4f14118fb284c01d3f968c1804687ae325c
Author
Vayun Mathur <[email protected]>
When
2026-12-06 04:27 UTC (9 hours ago)
Parents
7a9e92d
watch person detail already ends with Open on phone; its icon now tints to the button content color and the unused delete imports are gone. No Delete: the phone app has no delete-person action by design, so a watch button would be fake.

Verified: :findfamily:lint green (plus :findfamily:testDevUnitTest where the module has watch-relevant tests in this sweep).

Diff

findfamily/src/main/java/com/vayunmathur/findfamily/ui/WearPersonScreen.kt
diff --git a/findfamily/src/main/java/com/vayunmathur/findfamily/ui/WearPersonScreen.kt b/findfamily/src/main/java/com/vayunmathur/findfamily/ui/WearPersonScreen.ktindex ab6c271a0e..141bbdb1fb 100644--- a/findfamily/src/main/java/com/vayunmathur/findfamily/ui/WearPersonScreen.kt+++ b/findfamily/src/main/java/com/vayunmathur/findfamily/ui/WearPersonScreen.kt@@ -5,8 +5,6 @@ import com.vayunmathur.library.ui.IconMobileArrowRight import androidx.compose.runtime.rememberCoroutineScope import androidx.compose.ui.platform.LocalContext import kotlinx.coroutines.launch-import com.vayunmathur.library.ui.IconDelete-import com.vayunmathur.library.wearlink.wearDeleteItem  import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.fillMaxWidth@@ -22,6 +20,7 @@ import androidx.compose.ui.unit.dp import androidx.wear.compose.foundation.lazy.ScalingLazyColumn 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@@ -136,6 +135,6 @@ internal fun WearPersonContent(                 )             }         }-        wearOpenOnPhoneItem(onClick = { scope.launch { WearLinkBridge.get(context).sendMessage("/findfamily/open-on-phone", ByteArray(0)) } }, icon = { IconMobileArrowRight(tint = androidx.compose.ui.graphics.Color.White) })+        wearOpenOnPhoneItem(onClick = { scope.launch { WearLinkBridge.get(context).sendMessage("/findfamily/open-on-phone", ByteArray(0)) } }, icon = { IconMobileArrowRight(tint = LocalContentColor.current) })     } }