diff --git a/src/ui/windows/TogglDesktop/TogglDesktop/Toggl.cs b/src/ui/windows/TogglDesktop/TogglDesktop/Toggl.cs index b94ea8bb41..d1aeea69c8 100644 --- a/src/ui/windows/TogglDesktop/TogglDesktop/Toggl.cs +++ b/src/ui/windows/TogglDesktop/TogglDesktop/Toggl.cs @@ -934,7 +934,15 @@ public static readonly BehaviorSubject OnUpdateDownloadStatus public static readonly BehaviorSubject TimelineSelectedDate = new BehaviorSubject(DateTime.Today); public static readonly BehaviorSubject RunningTimeEntry = new BehaviorSubject(null); - public static IObservable StoppedTimerState = RunningTimeEntry.Where(te => te == null).Select(_ => Unit.Default); + + public static readonly IObservable StoppedTimerState = + RunningTimeEntry + .Where(te => te == null) + .Select(_ => Unit.Default); + public static readonly IObservable RunningTimerState = + RunningTimeEntry + .Where(te => te != null) + .Select(te => te.Value); public static event DisplayTimelineUI OnDisplayTimelineUI = delegate { }; private static void listenToLibEvents() { diff --git a/src/ui/windows/TogglDesktop/TogglDesktop/ui/Resources/SharedStyles.xaml b/src/ui/windows/TogglDesktop/TogglDesktop/ui/Resources/SharedStyles.xaml index b6e1a2573a..e41970c4c8 100644 --- a/src/ui/windows/TogglDesktop/TogglDesktop/ui/Resources/SharedStyles.xaml +++ b/src/ui/windows/TogglDesktop/TogglDesktop/ui/Resources/SharedStyles.xaml @@ -17,6 +17,7 @@ Segoe UI 68 + 40