feat: add desktop system tray support (#120)

This commit is contained in:
Li Wei authored and GitHub committed 2023-06-07 21:50:40 +08:00
1 parent 0100f0131d
commit b3e372326f
17 files changed
+203 -7

No files matched your search

@@ -11,6 +11,15 @@ class HomeView extends GetView<HomeController> {
@override
Widget build(BuildContext context) {
return GetRouterOutlet.builder(builder: (context, delegate, currentRoute) {
switch (currentRoute?.location) {
case Routes.SETTING:
controller.currentIndex.value = 1;
break;
default:
controller.currentIndex.value = 0;
break;
}
return Scaffold(
// extendBody: true,
body: Row(