info: hide metadata edit actions when path is unknown

This commit is contained in:
Thibault Deckers 2021-09-14 10:23:24 +09:00
parent db863d68e3
commit f422f848f4

View file

@ -43,6 +43,7 @@ class InfoAppBar extends StatelessWidget {
onPressed: () => _goToSearch(context),
tooltip: MaterialLocalizations.of(context).searchFieldLabel,
),
if (entry.canEdit)
MenuIconTheme(
child: PopupMenuButton<EntryInfoAction>(
itemBuilder: (context) {