async Task <RecoveryOptionResult> NotConnectedDialog(NotConnectedUserError notConnectedUserError) { string action = null; // toDO; await _specialDialogManager.ShowPopup(new RequirementsPopupViewModel(UiTaskHandlerExtensions.ToCommand( () => Cheat.PublishEvent(new DoLogin()))) { DisplayName = "Action '" + action + "' requires connection", Message = "Please connect first to perform this action", CommandTitle = "Connect" }); // TODO: Connect and retry options return(RecoveryOptionResult.CancelOperation); }
public Task ShowAddRepository() => _specialDialogManager.ShowPopup(_factory.CreateAddRepository().Value);