mirror of
https://github.com/bitwarden/android.git
synced 2024-12-27 11:28:28 +03:00
PM-3350 Cleared left ClipLogger from the iOS extensions debug logging.
This commit is contained in:
parent
15a306490d
commit
19c393842f
2 changed files with 0 additions and 16 deletions
|
@ -251,8 +251,6 @@ namespace Bit.iOS.Autofill
|
||||||
#if !ENABLED_TAP_GESTURE_RECOGNIZER_MAUI_EMBEDDED_WORKAROUND
|
#if !ENABLED_TAP_GESTURE_RECOGNIZER_MAUI_EMBEDDED_WORKAROUND
|
||||||
public async void DismissLockAndContinue()
|
public async void DismissLockAndContinue()
|
||||||
{
|
{
|
||||||
ClipLogger.Log("Dismiss lock and continue");
|
|
||||||
|
|
||||||
DismissViewController(false, async () => await OnLockDismissedAsync());
|
DismissViewController(false, async () => await OnLockDismissedAsync());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -17,17 +17,14 @@ namespace Bit.iOS.Extension
|
||||||
|
|
||||||
public void InitWithContext(Context context)
|
public void InitWithContext(Context context)
|
||||||
{
|
{
|
||||||
ClipLogger.Log($"InitWithContext: {context?.UrlString}");
|
|
||||||
_context = context;
|
_context = context;
|
||||||
_shouldInitialize = false;
|
_shouldInitialize = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void DismissLockAndContinue()
|
public void DismissLockAndContinue()
|
||||||
{
|
{
|
||||||
ClipLogger.Log("DismissLockAndContinue");
|
|
||||||
if (UIApplication.SharedApplication.KeyWindow is null)
|
if (UIApplication.SharedApplication.KeyWindow is null)
|
||||||
{
|
{
|
||||||
ClipLogger.Log("KeyWindow is null");
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -38,25 +35,14 @@ namespace Bit.iOS.Extension
|
||||||
var rootVC = navContr.ViewControllers.FirstOrDefault();
|
var rootVC = navContr.ViewControllers.FirstOrDefault();
|
||||||
if (rootVC is LoadingViewController loadingVC)
|
if (rootVC is LoadingViewController loadingVC)
|
||||||
{
|
{
|
||||||
ClipLogger.Log("Re-initing");
|
|
||||||
loadingVC.InitWithContext(_context);
|
loadingVC.InitWithContext(_context);
|
||||||
loadingVC.ContinueOn();
|
loadingVC.ContinueOn();
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
|
||||||
ClipLogger.Log($"Not LVC: {rootVC?.GetType().FullName}");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
|
||||||
ClipLogger.Log($"DismissLockAndContinue RVC not correct: {UIApplication.SharedApplication.KeyWindow?.RootViewController?.GetType().FullName}");
|
|
||||||
}
|
|
||||||
ClipLogger.Log("DismissLockAndContinue Done");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void NavigateToPage(ContentPage page)
|
private void NavigateToPage(ContentPage page)
|
||||||
{
|
{
|
||||||
ClipLogger.Log($"NavigateToPage {page?.GetType().FullName}");
|
|
||||||
var navigationPage = new NavigationPage(page);
|
var navigationPage = new NavigationPage(page);
|
||||||
|
|
||||||
var window = new Window(navigationPage);
|
var window = new Window(navigationPage);
|
||||||
|
|
Loading…
Reference in a new issue