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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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