1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-13 23:03:23 +00:00

moved view controllers to core library for reuse

This commit is contained in:
Kyle Spearrin
2018-09-20 21:54:01 -04:00
parent df80122ce1
commit 5f1a8017f1
18 changed files with 1138 additions and 1019 deletions

View File

@@ -21,6 +21,7 @@ using Bit.iOS.Core.Controllers;
using SimpleInjector;
using XLabs.Ioc.SimpleInjectorContainer;
using System.Collections.Generic;
using Bit.iOS.Core.Models;
namespace Bit.iOS.Extension
{
@@ -147,17 +148,14 @@ namespace Bit.iOS.Extension
}
else if(fingerprintViewController != null)
{
fingerprintViewController.Context = _context;
fingerprintViewController.LoadingController = this;
}
else if(pinViewController != null)
{
pinViewController.Context = _context;
pinViewController.LoadingController = this;
}
else if(passwordViewController != null)
{
passwordViewController.Context = _context;
passwordViewController.LoadingController = this;
}
else if(setupViewController != null)