diff --git a/app/ui/src/main/java/de/mm20/launcher2/ui/settings/appearance/ImportThemeSettingsScreen.kt b/app/ui/src/main/java/de/mm20/launcher2/ui/settings/appearance/ImportThemeSettingsScreen.kt
index 133900ca..550581b2 100644
--- a/app/ui/src/main/java/de/mm20/launcher2/ui/settings/appearance/ImportThemeSettingsScreen.kt
+++ b/app/ui/src/main/java/de/mm20/launcher2/ui/settings/appearance/ImportThemeSettingsScreen.kt
@@ -20,9 +20,7 @@ import androidx.compose.material.icons.rounded.ErrorOutline
import androidx.compose.material.icons.rounded.LightMode
import androidx.compose.material.icons.rounded.MoreVert
import androidx.compose.material.icons.rounded.Palette
-import androidx.compose.material.icons.rounded.PublishedWithChanges
import androidx.compose.material.icons.rounded.Star
-import androidx.compose.material.icons.rounded.Upgrade
import androidx.compose.material3.Button
import androidx.compose.material3.FilledTonalIconButton
import androidx.compose.material3.FilterChip
@@ -127,7 +125,7 @@ fun ImportThemeSettingsScreen(
}
}
item {
- PreferenceCategory {
+ PreferenceCategory(stringResource(R.string.import_theme_contents)) {
if (themeBundle.colors != null) {
Preference(
icon = Icons.Rounded.Palette,
@@ -135,7 +133,10 @@ fun ImportThemeSettingsScreen(
summary = themeBundle.colors?.name,
controls = if (viewModel.colorsExists) {
{
- Icon(Icons.Rounded.ChangeCircle, null)
+ Icon(
+ Icons.Rounded.ChangeCircle,
+ stringResource(R.string.import_theme_exists)
+ )
}
} else null,
)
@@ -147,7 +148,10 @@ fun ImportThemeSettingsScreen(
summary = themeBundle.shapes?.name,
controls = if (viewModel.shapesExists) {
{
- Icon(Icons.Rounded.ChangeCircle, null)
+ Icon(
+ Icons.Rounded.ChangeCircle,
+ stringResource(R.string.import_theme_exists)
+ )
}
} else null,
)
diff --git a/core/i18n/src/main/res/values/strings.xml b/core/i18n/src/main/res/values/strings.xml
index bce8c4e6..a56f1d75 100644
--- a/core/i18n/src/main/res/values/strings.xml
+++ b/core/i18n/src/main/res/values/strings.xml
@@ -827,6 +827,7 @@
Palette
Custom
Restore default
+ Contents
Apply theme
Theme already exists and will be updated
The selected file could not be read. Please make sure that you selected a valid theme file (*.kvtheme), and that the file is not corrupt.