refactor: disable tray

Signed-off-by: Kingtous <kingtous@qq.com>
This commit is contained in:
Kingtous 2022-06-02 16:45:04 +08:00
parent d81d785722
commit 8c3e77001c

View File

@ -5,7 +5,6 @@ import 'package:flutter/material.dart';
import 'package:flutter_hbb/desktop/pages/desktop_home_page.dart';
import 'package:flutter_hbb/desktop/screen/desktop_remote_screen.dart';
import 'package:flutter_hbb/utils/multi_window_manager.dart';
import 'package:flutter_hbb/utils/tray_manager.dart';
import 'package:flutter_smart_dialog/flutter_smart_dialog.dart';
import 'package:provider/provider.dart';
import 'package:window_manager/window_manager.dart';
@ -53,7 +52,8 @@ void runRustDeskApp(List<String> args) async {
break;
}
} else {
initTray();
// disable tray
// initTray();
FFI.serverModel.startService();
runApp(App());
doWhenWindowReady(() {