/// <summary> /// Fired when the user is updated, we should update the subreddit list. /// </summary> private void UserMan_OnUserUpdated(object sender, OnUserUpdatedArgs args) { // Take action on everything but user updated if (args.Action != UserCallbackAction.Updated) { Update(true); } }
/// <summary> /// Fired when the user is updated /// </summary> private async void UserMan_OnUserUpdated(object sender, OnUserUpdatedArgs args) { await Windows.ApplicationModel.Core.CoreApplication.MainView.CoreWindow.Dispatcher.RunAsync(CoreDispatcherPriority.Normal, () => { UpdateAccount(); }); }