Update remote_page.dart

This commit is contained in:
RustDesk 2023-04-30 23:24:24 +08:00 committed by GitHub
parent b5ab71e2ff
commit c0f2a62bb8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -182,14 +182,6 @@ class _RemotePageState extends State<RemotePage>
}
}
@override
void onWindowRestore() {
super.onWindowRestore();
if (!Platform.isLinux) {
Wakelock.enable();
}
}
@override
void onWindowMinimize() {
super.onWindowMinimize();