Update remote_page.dart

This commit is contained in:
RustDesk authored and GitHub committed 2023-04-30 23:20:44 +08:00
1 parent 7bfe383e4a
commit b5ab71e2ff
1 file changed
+2 -2
+2 -2
View File
@@ -183,8 +183,8 @@ class _RemotePageState extends State<RemotePage>
}
@override
void onWindowMaximize() {
super.onWindowMinimize();
void onWindowRestore() {
super.onWindowRestore();
if (!Platform.isLinux) {
Wakelock.enable();
}