From 19c393842f22cc8abe29345c20f479530dc69d81 Mon Sep 17 00:00:00 2001 From: Federico Maccaroni Date: Thu, 7 Dec 2023 18:14:02 -0300 Subject: [PATCH] PM-3350 Cleared left ClipLogger from the iOS extensions debug logging. --- .../CredentialProviderViewController.cs | 2 -- .../LoadingViewController.TapGestureHack.cs | 14 -------------- 2 files changed, 16 deletions(-) diff --git a/src/iOS.Autofill/CredentialProviderViewController.cs b/src/iOS.Autofill/CredentialProviderViewController.cs index 242e4d149..cafbc335c 100644 --- a/src/iOS.Autofill/CredentialProviderViewController.cs +++ b/src/iOS.Autofill/CredentialProviderViewController.cs @@ -251,8 +251,6 @@ namespace Bit.iOS.Autofill #if !ENABLED_TAP_GESTURE_RECOGNIZER_MAUI_EMBEDDED_WORKAROUND public async void DismissLockAndContinue() { - ClipLogger.Log("Dismiss lock and continue"); - DismissViewController(false, async () => await OnLockDismissedAsync()); } diff --git a/src/iOS.Extension/LoadingViewController.TapGestureHack.cs b/src/iOS.Extension/LoadingViewController.TapGestureHack.cs index 822ba9c96..f5e09ca22 100644 --- a/src/iOS.Extension/LoadingViewController.TapGestureHack.cs +++ b/src/iOS.Extension/LoadingViewController.TapGestureHack.cs @@ -17,17 +17,14 @@ namespace Bit.iOS.Extension public void InitWithContext(Context context) { - ClipLogger.Log($"InitWithContext: {context?.UrlString}"); _context = context; _shouldInitialize = false; } public void DismissLockAndContinue() { - ClipLogger.Log("DismissLockAndContinue"); if (UIApplication.SharedApplication.KeyWindow is null) { - ClipLogger.Log("KeyWindow is null"); return; } @@ -38,25 +35,14 @@ namespace Bit.iOS.Extension var rootVC = navContr.ViewControllers.FirstOrDefault(); if (rootVC is LoadingViewController loadingVC) { - ClipLogger.Log("Re-initing"); loadingVC.InitWithContext(_context); 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) { - ClipLogger.Log($"NavigateToPage {page?.GetType().FullName}"); var navigationPage = new NavigationPage(page); var window = new Window(navigationPage);