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,
+1
View File
@@ -294,6 +294,7 @@
<string name="profiles_empty_desc">Connection profiles from Hermes will appear here.</string>
<string name="profiles_label_model">Model: %1$s</string>
<string name="profiles_label_provider">Provider: %1$s</string>
<string name="profiles_action_activate">Activate</string>
<string name="profiles_action_edit_soul">Edit Soul</string>
<string name="profiles_action_set_model">Set Model</string>
<string name="profiles_content_desc_active">Active Profile</string>