Add consistent tooltips for drawer button

This commit is contained in:
Elias Bonnici 2024-09-02 11:41:46 +02:00
parent 06b422e962
commit da2fdf7809
No known key found for this signature in database
GPG Key ID: 5EAC28EA3F980CCF

View File

@ -522,11 +522,11 @@ class _AppPageState extends ConsumerState<AppPage> {
widget.detailViewBuilder != null || widget.keyActionsBuilder != null;
var body = _buildMainContent(context, hasManage);
var navigationText = showNavigation
? (fullyExpanded
var navigationText = fullyExpanded
? (showNavigation
? l10n.s_collapse_navigation
: MaterialLocalizations.of(context).openAppDrawerTooltip)
: l10n.s_expand_navigation;
: l10n.s_expand_navigation)
: l10n.s_show_navigation;
if (widget.onFileDropped != null) {
body = FileDropTarget(