diff --git a/app/src/main/java/com/m57/hermescontrol/ui/profiles/ProfilesScreen.kt b/app/src/main/java/com/m57/hermescontrol/ui/profiles/ProfilesScreen.kt index 5d5aa518..68753378 100644 --- a/app/src/main/java/com/m57/hermescontrol/ui/profiles/ProfilesScreen.kt +++ b/app/src/main/java/com/m57/hermescontrol/ui/profiles/ProfilesScreen.kt @@ -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, diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 31663472..b057916d 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -294,6 +294,7 @@ Connection profiles from Hermes will appear here. Model: %1$s Provider: %1$s + Activate Edit Soul Set Model Active Profile