Display options to remove or delete files from shared collections too
This commit is contained in:
parent
c0f1e5f671
commit
0d8f10163b
|
@ -188,7 +188,9 @@ class _GalleryAppBarWidgetState extends State<GalleryAppBarWidget> {
|
|||
_showDeleteSheet(context);
|
||||
},
|
||||
));
|
||||
} else if (widget.type == GalleryAppBarType.collection) {
|
||||
} else if (widget.type == GalleryAppBarType.collection ||
|
||||
(widget.type == GalleryAppBarType.shared_collection &&
|
||||
widget.collection.owner.id == Configuration.instance.getUserID())) {
|
||||
if (widget.collection.type == CollectionType.folder) {
|
||||
actions.add(IconButton(
|
||||
icon: Icon(Platform.isAndroid
|
||||
|
|
Loading…
Reference in a new issue