mirror of
https://github.com/usatiuk/PomoTime.git
synced 2025-10-28 08:27:48 +01:00
work around a possible problem with timer not starting
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user