mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-18 12:41:29 +03:00
feat: implement tray in linux
This commit is contained in:
@@ -432,7 +432,8 @@ class _DesktopHomePageState extends State<DesktopHomePage>
|
||||
updateUrl = await bind.mainGetSoftwareUpdateUrl();
|
||||
if (updateUrl.isNotEmpty) setState(() {});
|
||||
});
|
||||
initTray();
|
||||
// disable this tray because we use tray function provided by rust now
|
||||
// initTray();
|
||||
trayManager.addListener(this);
|
||||
windowManager.addListener(this);
|
||||
rustDeskWinManager.setMethodHandler((call, fromWindowId) async {
|
||||
|
||||
Reference in New Issue
Block a user