From 75f2caf33b1132203d585e1ac1b27dc481a043d8 Mon Sep 17 00:00:00 2001 From: Allan Date: Sun, 12 Feb 2017 10:32:50 -0500 Subject: [PATCH] Add more status messages --- DevRant.WPF/DevRant.WPF.csproj | 2 +- DevRant.WPF/FollowedUserChecker.cs | 4 ++-- DevRant.WPF/MainWindowViewModel.cs | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/DevRant.WPF/DevRant.WPF.csproj b/DevRant.WPF/DevRant.WPF.csproj index ab2d125..a655071 100644 --- a/DevRant.WPF/DevRant.WPF.csproj +++ b/DevRant.WPF/DevRant.WPF.csproj @@ -25,7 +25,7 @@ false false true - 7 + 8 1.0.0.%2a false true diff --git a/DevRant.WPF/FollowedUserChecker.cs b/DevRant.WPF/FollowedUserChecker.cs index fc5308a..59721c9 100644 --- a/DevRant.WPF/FollowedUserChecker.cs +++ b/DevRant.WPF/FollowedUserChecker.cs @@ -77,10 +77,10 @@ private async void RunChecker() { long latest = added.Max(x => x.CreatedTime); ds.FollowedUsersLastChecked = latest; - - SendUpdate(added.Count); } + SendUpdate(added.Count); + int millis = ds.FollowedUsersUpdateInterval * 60 * 1000; Thread.Sleep(millis); } diff --git a/DevRant.WPF/MainWindowViewModel.cs b/DevRant.WPF/MainWindowViewModel.cs index eda1a29..f00ba95 100644 --- a/DevRant.WPF/MainWindowViewModel.cs +++ b/DevRant.WPF/MainWindowViewModel.cs @@ -286,6 +286,7 @@ private async Task LoadFeed(FeedType type, RantSort sort = RantSort.Algo, StoryR UpdateFollow(); currentSection = type; + UpdateStatus("Loaded " + rants.Count + " rants"); } public Visibility PostVisibility