add missing call of androidUpdatekeepScreenOn (#8345)

Signed-off-by: 21pages <sunboeasy@gmail.com>
This commit is contained in:
21pages 2024-06-13 19:24:38 +08:00 committed by GitHub
parent ab451b9056
commit 2e4fafcf46
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -549,6 +549,7 @@ class _SettingsState extends State<SettingsPage> with WidgetsBindingObserver {
key: kOptionDisableFloatingWindow,
value: disable ? 'Y' : defaultOptionNo);
setState(() => _floatingWindowDisabled = disable);
gFFI.serverModel.androidUpdatekeepScreenOn();
}
enhancementsTiles.add(SettingsTile.switchTile(