mirror of
https://github.com/bitwarden/mobile
synced 2025-12-15 15:53:44 +00:00
reuse code
This commit is contained in:
@@ -107,13 +107,13 @@ namespace Bit.iOS.Extension
|
||||
tableView.DeselectRow(indexPath, true);
|
||||
tableView.EndEditing(true);
|
||||
|
||||
if(_tableItems == null || _tableItems.Count() == 0)
|
||||
if(Items == null || Items.Count() == 0)
|
||||
{
|
||||
_controller.PerformSegue("loginAddSegue", this);
|
||||
return;
|
||||
}
|
||||
|
||||
var item = _tableItems.ElementAt(indexPath.Row);
|
||||
var item = Items.ElementAt(indexPath.Row);
|
||||
if(item == null)
|
||||
{
|
||||
_controller.LoadingController.CompleteRequest(null);
|
||||
|
||||
Reference in New Issue
Block a user