work around a possible problem with timer not starting

This commit is contained in:
2020-09-18 21:05:25 +03:00
parent 5cfa9802c4
commit 09171ae718

View File

@@ -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();