aves_mio/lib/model/settings/enums/screen_on.dart
Fabio Micheluz 2c988f959b
Some checks are pending
Quality check / Flutter analysis (push) Waiting to run
Quality check / CodeQL analysis (java-kotlin) (push) Waiting to run
first commit
2026-02-19 13:25:23 +01:00

8 lines
229 B
Dart

import 'package:aves/services/common/services.dart';
import 'package:aves_model/aves_model.dart';
extension ExtraKeepScreenOn on KeepScreenOn {
void apply() {
windowService.keepScreenOn(this == KeepScreenOn.always);
}
}