mirror of
https://github.com/bitwarden/mobile.git
synced 2024-11-21 11:25:56 +01:00
Some debug logs. Adjusting animations.
This commit is contained in:
parent
7f5d371bf3
commit
81473cbefe
@ -125,8 +125,10 @@ namespace Bit.iOS.Extension
|
||||
|
||||
public void DismissLockAndContinue()
|
||||
{
|
||||
DismissViewController(true, () =>
|
||||
Debug.WriteLine("BW Log, Dismissing lock controller.");
|
||||
DismissViewController(false, () =>
|
||||
{
|
||||
Debug.WriteLine("BW Log, Segue to site list.");
|
||||
PerformSegue("siteListSegue", this);
|
||||
});
|
||||
}
|
||||
|
@ -8,6 +8,7 @@ using MobileCoreServices;
|
||||
using Bit.App.Abstractions;
|
||||
using Bit.iOS.Core.Utilities;
|
||||
using Bit.App.Resources;
|
||||
using System.Diagnostics;
|
||||
|
||||
namespace Bit.iOS.Extension
|
||||
{
|
||||
@ -58,6 +59,7 @@ namespace Bit.iOS.Extension
|
||||
{
|
||||
if(PinTextField.Text == _authService.PIN)
|
||||
{
|
||||
Debug.WriteLine("BW Log, Start Dismiss PIN controller.");
|
||||
PinTextField.ResignFirstResponder();
|
||||
LoadingViewController.DismissLockAndContinue();
|
||||
}
|
||||
|
@ -29,9 +29,9 @@
|
||||
</view>
|
||||
<connections>
|
||||
<segue destination="oCZ-GQ-aOK" kind="show" identifier="siteListSegue" id="1679"/>
|
||||
<segue id="8446" destination="6512" kind="presentation" identifier="lockFingerprintSegue" animates="NO"/>
|
||||
<segue id="8924" destination="6815" kind="presentation" identifier="lockPinSegue" animates="NO"/>
|
||||
<segue id="9874" destination="6855" kind="presentation" identifier="lockPasswordSegue" animates="NO"/>
|
||||
<segue id="8446" destination="6512" kind="presentation" identifier="lockFingerprintSegue"/>
|
||||
<segue id="8924" destination="6815" kind="presentation" identifier="lockPinSegue"/>
|
||||
<segue id="9874" destination="6855" kind="presentation" identifier="lockPasswordSegue"/>
|
||||
<segue id="10498" destination="1845" kind="presentation" identifier="newSiteSegue" modalPresentationStyle="" modalTransitionStyle=""/>
|
||||
</connections>
|
||||
</viewController>
|
||||
|
@ -31,6 +31,9 @@ namespace Bit.iOS.Extension
|
||||
{
|
||||
base.ViewDidLoad();
|
||||
|
||||
Debug.WriteLine("BW LOG, Site list ViewDidLoad.");
|
||||
var sw = Stopwatch.StartNew();
|
||||
|
||||
IEnumerable<SiteViewModel> filteredSiteModels = new List<SiteViewModel>();
|
||||
if(Context.DomainName != null)
|
||||
{
|
||||
@ -40,9 +43,14 @@ namespace Bit.iOS.Extension
|
||||
filteredSiteModels = siteModels.Where(s => s.Domain != null && s.Domain.BaseDomain == Context.DomainName.BaseDomain);
|
||||
}
|
||||
|
||||
Debug.WriteLine("BW LOG, Filtered sites at " + sw.ElapsedMilliseconds + "ms.");
|
||||
|
||||
TableView.RowHeight = UITableView.AutomaticDimension;
|
||||
TableView.EstimatedRowHeight = 44;
|
||||
TableView.Source = new TableSource(filteredSiteModels, this);
|
||||
|
||||
Debug.WriteLine("BW LOG, Set TableView srouce at " + sw.ElapsedMilliseconds + "ms.");
|
||||
sw.Stop();
|
||||
}
|
||||
|
||||
partial void CancelBarButton_Activated(UIBarButtonItem sender)
|
||||
|
Loading…
Reference in New Issue
Block a user