Hide gallery overflow menu when files are selected (#1217)
This commit is contained in:
commit
c5f1e551f9
1 changed files with 3 additions and 0 deletions
|
@ -244,6 +244,9 @@ class _GalleryAppBarWidgetState extends State<GalleryAppBarWidget> {
|
|||
|
||||
List<Widget> _getDefaultActions(BuildContext context) {
|
||||
final List<Widget> actions = <Widget>[];
|
||||
if (widget.selectedFiles.files.isNotEmpty) {
|
||||
return actions;
|
||||
}
|
||||
if (Configuration.instance.hasConfiguredAccount() &&
|
||||
widget.selectedFiles.files.isEmpty &&
|
||||
(widget.type == GalleryType.ownedCollection ||
|
||||
|
|
Loading…
Add table
Reference in a new issue