Hide share button on favorites folder
This commit is contained in:
parent
6c8c765f90
commit
46ca969392
|
@ -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: () {
|
||||
|
|
Loading…
Reference in a new issue