feat(#221): add Activate button to profile cards for switching profiles (#360)

Co-authored-by: M57 <hy4ri@users.noreply.github.com>
This commit is contained in:
M57
2026-06-25 20:31:21 +03:00
committed by GitHub
co-authored by M57
parent 4756b6801b
commit a3b794be5c
2 changed files with 13 additions and 0 deletions
@@ -209,6 +209,18 @@ fun ProfilesScreen(
Spacer(modifier = Modifier.height(16.dp))
if (!isActive) {
Button(
onClick = { viewModel.selectActiveProfile(profile.name) },
modifier =
Modifier
.fillMaxWidth()
.padding(bottom = 8.dp),
) {
Text(stringResource(R.string.profiles_action_activate))
}
}
Row(
modifier = Modifier.fillMaxWidth(),
horizontalArrangement = Arrangement.End,