Remove edit button for built-in themes
This commit is contained in:
parent
70f658f9f3
commit
5afa905e4e
@ -64,6 +64,7 @@ fun ThemesSettingsScreen() {
|
|||||||
expanded = showMenu,
|
expanded = showMenu,
|
||||||
onDismissRequest = { showMenu = false }
|
onDismissRequest = { showMenu = false }
|
||||||
) {
|
) {
|
||||||
|
if (!theme.builtIn) {
|
||||||
DropdownMenuItem(
|
DropdownMenuItem(
|
||||||
leadingIcon = {
|
leadingIcon = {
|
||||||
Icon(Icons.Rounded.Edit, null)
|
Icon(Icons.Rounded.Edit, null)
|
||||||
@ -76,6 +77,7 @@ fun ThemesSettingsScreen() {
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
)
|
)
|
||||||
Row(
|
Row(
|
||||||
modifier = Modifier
|
modifier = Modifier
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user