mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-01-22 08:46:18 +01:00
Fix "fix share" button showing incorrectly
This commit is contained in:
parent
bc2767be46
commit
5a94a27db1
1 changed files with 3 additions and 1 deletions
|
@ -68,7 +68,9 @@ class _AppBar extends StatelessWidget {
|
|||
),
|
||||
],
|
||||
if (state.collection.contentProvider
|
||||
is CollectionAlbumProvider)
|
||||
is CollectionAlbumProvider &&
|
||||
CollectionAdapter.of(c, bloc.account, state.collection)
|
||||
.isPermitted(CollectionCapability.share))
|
||||
PopupMenuItem(
|
||||
value: _MenuOption.albumFixShare,
|
||||
child: Text(L10n.global().fixSharesTooltip),
|
||||
|
|
Loading…
Reference in a new issue