diff --git a/composeApp/src/commonMain/composeResources/values/strings.xml b/composeApp/src/commonMain/composeResources/values/strings.xml index 5caa64b2..566b9877 100644 --- a/composeApp/src/commonMain/composeResources/values/strings.xml +++ b/composeApp/src/commonMain/composeResources/values/strings.xml @@ -703,4 +703,5 @@ Put to the group Couldn't put it to the group. Wallets your groups guard + This device tells the groups above about these on its own when it can. Share now if a group above hasn't heard. diff --git a/composeApp/src/commonMain/kotlin/com/machankura/bennu/compose/ui/composable/GroupWalletScreen.kt b/composeApp/src/commonMain/kotlin/com/machankura/bennu/compose/ui/composable/GroupWalletScreen.kt index 00924465..7d1bffc8 100644 --- a/composeApp/src/commonMain/kotlin/com/machankura/bennu/compose/ui/composable/GroupWalletScreen.kt +++ b/composeApp/src/commonMain/kotlin/com/machankura/bennu/compose/ui/composable/GroupWalletScreen.kt @@ -101,6 +101,7 @@ import bennu.composeapp.generated.resources.share import bennu.composeapp.generated.resources.spend import bennu.composeapp.generated.resources.shared_with_the_groups_above import bennu.composeapp.generated.resources.tell_the_groups_above +import bennu.composeapp.generated.resources.this_device_shares_these_on_its_own_when_it_can import bennu.composeapp.generated.resources.wallets_of_groups_below_this_one import com.machankura.bennu.compose.managers.GuardianManager import com.machankura.bennu.compose.ui.view.state.GuardedWalletRow @@ -717,6 +718,16 @@ private fun LazyListScope.guardianItems( item { Text(text = stringResource(Res.string.tell_the_groups_above), style = MaterialTheme.typography.titleMedium) } + // What is left here is what the automatic forwarding could not send -- + // a notice lost on the wire, most often -- so the section says so, once. + // docs/guarded-wallet-forwarding.md, Phase 6. + item { + Text( + text = stringResource(Res.string.this_device_shares_these_on_its_own_when_it_can), + style = MaterialTheme.typography.bodyMedium, + color = MaterialTheme.colorScheme.onSurfaceVariant, + ) + } items(shareable, key = { "shareable-" + it.statement.id }) { candidate -> ListItem( headlineContent = {