diff --git a/flutter/lib/desktop/pages/desktop_home_page.dart b/flutter/lib/desktop/pages/desktop_home_page.dart index 78ed61a3a..3bfc3698c 100644 --- a/flutter/lib/desktop/pages/desktop_home_page.dart +++ b/flutter/lib/desktop/pages/desktop_home_page.dart @@ -52,7 +52,7 @@ class _DesktopHomePageState extends State Timer? _updateTimer; bool isCardClosed = false; - RxBool _editHover = false.obs; + final RxBool _editHover = false.obs; final GlobalKey _childKey = GlobalKey(); @@ -129,6 +129,7 @@ class _DesktopHomePageState extends State ]; if (isIncomingOnly) { children.addAll([ + Divider(), OnlineStatusWidget( onSvcStatusChanged: () { if (_isInHomePage()) { @@ -531,6 +532,17 @@ class _DesktopHomePageState extends State ); } } + if (bind.isIncomingOnly()) { + return Align( + alignment: Alignment.centerRight, + child: OutlinedButton( + onPressed: () { + SystemNavigator.pop(); // Close the application + }, + child: Text(translate('Quit')), + ), + ).marginAll(14); + } return Container(); }