Remove edit button for built-in themes

This commit is contained in:
MM20
2023-08-22 22:09:37 +02:00
parent 70f658f9f3
commit 5afa905e4e
@@ -64,6 +64,7 @@ fun ThemesSettingsScreen() {
expanded = showMenu,
onDismissRequest = { showMenu = false }
) {
if (!theme.builtIn) {
DropdownMenuItem(
leadingIcon = {
Icon(Icons.Rounded.Edit, null)
@@ -76,6 +77,7 @@ fun ThemesSettingsScreen() {
)
}
}
}
)
Row(
modifier = Modifier