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:
M57andM57 authored and GitHub committed 2026-06-25 20:31:21 +03:00
1 parent 4756b6801b
commit a3b794be5c
2 files changed
+13

No files matched your search

@@ -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,