Skip to content

Commit

Permalink
Merge pull request #194 from a-mabe/wakelock-fix
Browse files Browse the repository at this point in the history
Update workout.dart
  • Loading branch information
a-mabe authored Jan 4, 2025
2 parents 6be275d + 1eaca7f commit 1bf1927
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pages/active_timer/workout.dart
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ class RunTimerState extends State<RunTimer> {
@override
void initState() {
super.initState();
WakelockPlus.enable();
initializeAudioSession();
loadPreferences();
_controllerCenter =
Expand Down Expand Up @@ -148,7 +149,6 @@ class RunTimerState extends State<RunTimer> {
SystemChrome.setSystemUIOverlayStyle(SystemUiOverlayStyle(
statusBarBrightness: Brightness.dark,
));
WakelockPlus.enable();
return Scaffold(body: OrientationBuilder(builder: (context, orientation) {
return Countdown(
controller: _controller,
Expand Down

0 comments on commit 1bf1927

Please sign in to comment.