feat(android): add pair new gateway action · openclaw/openclaw@cc5eb97
obviyus
·
2026-05-25
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -70,6 +70,7 @@ import androidx.compose.material.icons.filled.Notifications
|
70 | 70 | import androidx.compose.material.icons.filled.Palette |
71 | 71 | import androidx.compose.material.icons.filled.Person |
72 | 72 | import androidx.compose.material.icons.filled.PlayArrow |
| 73 | +import androidx.compose.material.icons.filled.QrCode2 |
73 | 74 | import androidx.compose.material.icons.filled.Storage |
74 | 75 | import androidx.compose.material3.HorizontalDivider |
75 | 76 | import androidx.compose.material3.Icon |
@@ -683,6 +684,13 @@ private fun GatewaySettingsScreen(
|
683 | 684 | ClawPrimaryButton(text = "Reconnect", onClick = viewModel::refreshGatewayConnection, modifier = Modifier.weight(1f)) |
684 | 685 | ClawSecondaryButton(text = "Disconnect", onClick = viewModel::disconnect, modifier = Modifier.weight(1f)) |
685 | 686 | } |
| 687 | +ClawPanel { |
| 688 | +Column(verticalArrangement = Arrangement.spacedBy(10.dp)) { |
| 689 | +Text(text = "Pair New Gateway", style = ClawTheme.type.section, color = ClawTheme.colors.text) |
| 690 | +Text(text = "Clear this phone's saved gateway access and scan a fresh setup code.", style = ClawTheme.type.body, color = ClawTheme.colors.textMuted) |
| 691 | +ClawSecondaryButton(text = "Pair New Gateway", onClick = viewModel::pairNewGateway, modifier = Modifier.fillMaxWidth(), icon = Icons.Default.QrCode2) |
| 692 | + } |
| 693 | + } |
686 | 694 | ClawPanel { |
687 | 695 | Column(verticalArrangement = Arrangement.spacedBy(8.dp)) { |
688 | 696 | Text(text = "Connection Setup", style = ClawTheme.type.section, color = ClawTheme.colors.text) |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。