Co-authored-by: M57 <hy4ri@users.noreply.github.com>
This commit is contained in:
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))
|
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(
|
Row(
|
||||||
modifier = Modifier.fillMaxWidth(),
|
modifier = Modifier.fillMaxWidth(),
|
||||||
horizontalArrangement = Arrangement.End,
|
horizontalArrangement = Arrangement.End,
|
||||||
|
|||||||
@@ -294,6 +294,7 @@
|
|||||||
<string name="profiles_empty_desc">Connection profiles from Hermes will appear here.</string>
|
<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_model">Model: %1$s</string>
|
||||||
<string name="profiles_label_provider">Provider: %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_edit_soul">Edit Soul</string>
|
||||||
<string name="profiles_action_set_model">Set Model</string>
|
<string name="profiles_action_set_model">Set Model</string>
|
||||||
<string name="profiles_content_desc_active">Active Profile</string>
|
<string name="profiles_content_desc_active">Active Profile</string>
|
||||||
|
|||||||
Reference in new issue
Block a user