Hide widget tune button for note widget

This commit is contained in:
MM20 2023-04-27 20:55:29 +02:00
parent e726ff1ffd
commit d8996a4633
No known key found for this signature in database
GPG Key ID: 0B61A8F2DEAFA389

View File

@ -126,13 +126,15 @@ fun WidgetItem(
overflow = TextOverflow.Ellipsis,
maxLines = 1
)
IconButton(onClick = {
configure = true
}) {
Icon(
imageVector = Icons.Rounded.Tune,
contentDescription = stringResource(R.string.settings)
)
if (widget !is NotesWidget) {
IconButton(onClick = {
configure = true
}) {
Icon(
imageVector = Icons.Rounded.Tune,
contentDescription = stringResource(R.string.settings)
)
}
}
IconButton(onClick = { onWidgetRemove() }) {
Icon(