From 07dd9df3ec48c223bb8dd1742d6ef0d6b1c35573 Mon Sep 17 00:00:00 2001 From: kspearrin Date: Mon, 24 Sep 2018 15:24:43 -0400 Subject: [PATCH] no search display controller --- src/iOS.Autofill/LoginSearchViewController.cs | 2 +- src/iOS.Autofill/LoginSearchViewController.designer.cs | 9 --------- src/iOS.Autofill/MainInterface.storyboard | 10 ---------- 3 files changed, 1 insertion(+), 20 deletions(-) diff --git a/src/iOS.Autofill/LoginSearchViewController.cs b/src/iOS.Autofill/LoginSearchViewController.cs index ab6a66973..896374061 100644 --- a/src/iOS.Autofill/LoginSearchViewController.cs +++ b/src/iOS.Autofill/LoginSearchViewController.cs @@ -171,8 +171,8 @@ namespace Bit.iOS.Autofill public override void TextChanged(UISearchBar searchBar, string searchText) { - System.Diagnostics.Debug.WriteLine("search text: " + searchText); ((TableSource)_controller.TableView.Source).FilterResults(searchText, new CancellationToken()); + _controller.TableView.ReloadData(); } } } diff --git a/src/iOS.Autofill/LoginSearchViewController.designer.cs b/src/iOS.Autofill/LoginSearchViewController.designer.cs index 9994c09f9..8694182b2 100644 --- a/src/iOS.Autofill/LoginSearchViewController.designer.cs +++ b/src/iOS.Autofill/LoginSearchViewController.designer.cs @@ -26,10 +26,6 @@ namespace Bit.iOS.Autofill [GeneratedCode ("iOS Designer", "1.0")] UIKit.UISearchBar SearchBar { get; set; } - [Outlet] - [GeneratedCode ("iOS Designer", "1.0")] - UIKit.UISearchDisplayController searchDisplayController { get; set; } - [Action ("AddBarButton_Activated:")] [GeneratedCode ("iOS Designer", "1.0")] partial void AddBarButton_Activated (UIKit.UIBarButtonItem sender); @@ -54,11 +50,6 @@ namespace Bit.iOS.Autofill SearchBar.Dispose (); SearchBar = null; } - - if (searchDisplayController != null) { - searchDisplayController.Dispose (); - searchDisplayController = null; - } } } } \ No newline at end of file diff --git a/src/iOS.Autofill/MainInterface.storyboard b/src/iOS.Autofill/MainInterface.storyboard index 050f746e3..20c31468e 100644 --- a/src/iOS.Autofill/MainInterface.storyboard +++ b/src/iOS.Autofill/MainInterface.storyboard @@ -661,20 +661,10 @@ - - - - - - - - - -