fix last commit
Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
parent
37449bf44c
commit
a3adb4788f
1 changed files with 8 additions and 0 deletions
|
|
@ -182,6 +182,14 @@ class _RemotePageState extends State<RemotePage>
|
|||
}
|
||||
}
|
||||
|
||||
@override
|
||||
void onWindowMaximize() {
|
||||
super.onWindowMaximize();
|
||||
if (!Platform.isLinux) {
|
||||
Wakelock.enable();
|
||||
}
|
||||
}
|
||||
|
||||
@override
|
||||
void onWindowMinimize() {
|
||||
super.onWindowMinimize();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue