mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-03-13 18:58:53 +01:00
Fix able to unset album cover even if !canEdit
This commit is contained in:
parent
6fd9ad7bc4
commit
c72a66a3b5
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ mixin AlbumBrowserMixin<T extends StatefulWidget>
|
|||
value: _menuValueEdit,
|
||||
child: Text(L10n.global().editAlbumMenuLabel),
|
||||
),
|
||||
if (album.coverProvider is AlbumManualCoverProvider)
|
||||
if (canEdit && album.coverProvider is AlbumManualCoverProvider)
|
||||
PopupMenuItem(
|
||||
value: _menuValueUnsetCover,
|
||||
child: Text(L10n.global().unsetAlbumCoverTooltip),
|
||||
|
|
Loading…
Reference in a new issue