Hide widget tune button for note widget
This commit is contained in:
parent
e726ff1ffd
commit
d8996a4633
@ -126,13 +126,15 @@ fun WidgetItem(
|
|||||||
overflow = TextOverflow.Ellipsis,
|
overflow = TextOverflow.Ellipsis,
|
||||||
maxLines = 1
|
maxLines = 1
|
||||||
)
|
)
|
||||||
IconButton(onClick = {
|
if (widget !is NotesWidget) {
|
||||||
configure = true
|
IconButton(onClick = {
|
||||||
}) {
|
configure = true
|
||||||
Icon(
|
}) {
|
||||||
imageVector = Icons.Rounded.Tune,
|
Icon(
|
||||||
contentDescription = stringResource(R.string.settings)
|
imageVector = Icons.Rounded.Tune,
|
||||||
)
|
contentDescription = stringResource(R.string.settings)
|
||||||
|
)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
IconButton(onClick = { onWidgetRemove() }) {
|
IconButton(onClick = { onWidgetRemove() }) {
|
||||||
Icon(
|
Icon(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user