public void UpdateTopicWebView(Topic topic) { TopicReadyToBeDisplayed?.Invoke(topic); if (topic != null) { Task.Run(async() => await DrapFetcher.GetDraps(Loc.Settings.FollowedTopicType)); } }
public void UpdateThreadWebView(Thread thread) { ThreadReadyToBeDisplayed?.Invoke(thread); if (thread != null && thread is Topic) { Task.Run(async() => await DrapFetcher.GetDraps(Loc.Settings.FollowedTopicType)); } }
public void RefreshDraps() { if (!IsDrapeauxLoading) { IsDrapeauxLoading = true; IsDrapeauxLoaded = false; DrapsGrouped = null; Task.Run(async() => await DrapFetcher.GetDraps()); } }
public void RefreshDraps() { if (!IsDrapeauxLoading) { IsDrapeauxLoading = true; IsDrapeauxLoaded = false; DrapsGrouped = null; Task.Run(async() => await DrapFetcher.GetDraps(Loc.Settings.FollowedTopicType)); } }
public void UpdateTopicWebView(Topic topic) { TopicReadyToBeDisplayed?.Invoke(topic); Task.Run(async() => await DrapFetcher.GetDraps()); }