diff --git a/PomoTime/MainPage.xaml.cs b/PomoTime/MainPage.xaml.cs index f560d09..7c499af 100644 --- a/PomoTime/MainPage.xaml.cs +++ b/PomoTime/MainPage.xaml.cs @@ -237,6 +237,7 @@ namespace PomoTime { RescheduleNotification(); } + RestartTimer(); } private void PauseButton_Click(object sender, RoutedEventArgs e) @@ -388,6 +389,12 @@ namespace PomoTime } } + private void RestartTimer() + { + StopTimer(); + StartTimer(); + } + private void MainPageLoaded(object sender, RoutedEventArgs e) { StartTimer();