private void TagAction(string tag) { var myViewController = new PreSearchViewController(); myViewController.CurrentPostCategory = tag; _navController.PushViewController(myViewController, true); }
private void RemoveNetwork(UserInfo account) { OneSignal.Current.DeleteTag("username"); OneSignal.Current.DeleteTag("player_id"); _tableSource.Accounts.Remove(account); accountsTable.ReloadData(); ResizeView(); if (_tableSource.Accounts.Count == 0) { var myViewController = new PreSearchViewController(); AppDelegate.InitialViewController = myViewController; NavigationController.ViewControllers = new UIViewController[] { myViewController, this }; //_isTabBarNeedResfresh = true; NavigationController.PopViewController(false); } else { if (BasePresenter.Chain != account.Chain) { SetAddButton(); } else { //BasePresenter.SwitchChain(BasePresenter.Chain == KnownChains.Steem ? _golosAcc : _steemAcc); } } AppSettings.User.Save(); }
private void CellAction(ActionType type, string tag) { var myViewController = new PreSearchViewController(); myViewController.CurrentPostCategory = tag; NavigationController.PushViewController(myViewController, true); }
private void RemoveNetwork(UserInfo account) { _tableSource.Accounts.Remove(account); accountsTable.ReloadData(); ResizeView(); if (_tableSource.Accounts.Count == 0) { var myViewController = new PreSearchViewController(); NavigationController.ViewControllers = new UIViewController[] { myViewController, this }; //_isTabBarNeedResfresh = true; NavigationController.PopViewController(false); } else { if (BasePresenter.Chain != account.Chain) { SetAddButton(); } else { //BasePresenter.SwitchChain(BasePresenter.Chain == KnownChains.Steem ? _golosAcc : _steemAcc); } } BasePresenter.User.Save(); }