mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-22 23:10:56 +00:00
del use global ctx,fix server alert
This commit is contained in:
1 parent
18a9837dc9
commit
eaff76370e
4 files changed
+73
-38
No files matched your search
@@ -16,6 +16,7 @@ Future<Null> main() async {
|
||||
runApp(App());
|
||||
}
|
||||
|
||||
final globalKey = GlobalKey<NavigatorState>();
|
||||
class App extends StatelessWidget {
|
||||
|
||||
@override
|
||||
@@ -29,6 +30,7 @@ class App extends StatelessWidget {
|
||||
ChangeNotifierProvider.value(value: FFI.canvasModel),
|
||||
],
|
||||
child: MaterialApp(
|
||||
navigatorKey: globalKey,
|
||||
debugShowCheckedModeBanner: false,
|
||||
title: 'RustDesk',
|
||||
theme: ThemeData(
|
||||
|
||||
Reference in new issue
Block a user