Skip to content

Commit ba9d13b

Browse files
committed
Allow timer to continue running the background
1 parent a837e6f commit ba9d13b

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

app/src/main/java/dev/randombits/intervaltimer/TimerFragment.kt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,9 @@ class TimerFragment : Fragment() {
4040
override fun onPause() {
4141
super.onPause();
4242
mainActivity!!.window.clearFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);
43-
pauseTimer();
43+
44+
// allowing it to continue running in the background
45+
// pauseTimer();
4446
}
4547

4648
override fun onCreateView(

0 commit comments

Comments
 (0)