Update remote_page.dart

This commit is contained in:
RustDesk
2023-04-30 23:20:44 +08:00
committed by GitHub
parent 7bfe383e4a
commit b5ab71e2ff

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();
}