1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-11-22 12:59:21 +00:00

Add access to settings from tablet app bar

This commit is contained in:
Pierre HUBERT 2020-05-13 17:40:29 +02:00
parent 70e3efc93d
commit 395b9aca6b

View File

@ -94,6 +94,12 @@ class _ComunicTabletAppBarWidgetState
: Icons.wb_sunny, : Icons.wb_sunny,
onTap: _toggleDarkMode), onTap: _toggleDarkMode),
// Open settings
_MainMenuItem(
label: tr("Settings"),
icon: Icons.settings,
onTap: () => MainController.of(context).openSettings()),
// Sign out // Sign out
_MainMenuItem( _MainMenuItem(
label: tr("Sign out"), label: tr("Sign out"),