mirror of
https://github.com/usatiuk/PomoTime.git
synced 2025-10-29 00:47:48 +01:00
work around a possible problem with timer not starting
This commit is contained in:
@@ -237,6 +237,7 @@ namespace PomoTime
|
|||||||
{
|
{
|
||||||
RescheduleNotification();
|
RescheduleNotification();
|
||||||
}
|
}
|
||||||
|
RestartTimer();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void PauseButton_Click(object sender, RoutedEventArgs e)
|
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)
|
private void MainPageLoaded(object sender, RoutedEventArgs e)
|
||||||
{
|
{
|
||||||
StartTimer();
|
StartTimer();
|
||||||
|
|||||||
Reference in New Issue
Block a user