Merge pull request #4247 from 21pages/fix

fix last commit
This commit is contained in:
RustDesk 2023-05-01 09:22:58 +08:00 committed by GitHub
commit 4398c01c00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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