Hide move option from favorite collection

This commit is contained in:
Neeraj Gupta 2021-09-28 12:46:58 +05:30
parent dd65d7971d
commit b67d3aaa1a
No known key found for this signature in database
GPG key ID: 3C5A1684DC1729E1

View file

@ -273,7 +273,8 @@ class _GalleryAppBarWidgetState extends State<GalleryAppBarWidget> {
);
}
if (Configuration.instance.hasConfiguredAccount() &&
widget.type == GalleryAppBarType.owned_collection) {
widget.type == GalleryAppBarType.owned_collection &&
widget.collection.type != CollectionType.favorites) {
actions.add(
Tooltip(
message: "move",