Hide share button on favorites folder

This commit is contained in:
Vishnu Mohandas 2020-06-14 00:30:59 +05:30
parent 6c8c765f90
commit 46ca969392

View file

@ -82,7 +82,8 @@ class _GalleryAppBarWidgetState extends State<GalleryAppBarWidget> {
_openSyncConfiguration(context);
},
));
} else if (widget.type == GalleryAppBarType.local_folder) {
} else if (widget.type == GalleryAppBarType.local_folder &&
widget.title != "Favorites") {
actions.add(IconButton(
icon: Icon(Icons.person_add),
onPressed: () {