mirror of
https://github.com/bitwarden/android.git
synced 2024-10-31 23:25:45 +03:00
no search display controller
This commit is contained in:
parent
340d4ce714
commit
07dd9df3ec
3 changed files with 1 additions and 20 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -661,20 +661,10 @@
|
|||
<outlet property="CancelBarButton" destination="11950" id="name-outlet-11950"/>
|
||||
<outlet property="NavItem" destination="11544" id="name-outlet-11544"/>
|
||||
<segue id="12738" destination="1845" kind="show" identifier="loginAddFromSearchSegue"/>
|
||||
<outlet property="searchDisplayController" destination="13087" id="13086"/>
|
||||
<outlet property="SearchBar" destination="13084" id="name-outlet-13084"/>
|
||||
</connections>
|
||||
</tableViewController>
|
||||
<placeholder placeholderIdentifier="IBFirstResponder" id="11550" userLabel="First Responder" sceneMemberID="firstResponder"/>
|
||||
<searchDisplayController id="13087">
|
||||
<connections>
|
||||
<outlet property="delegate" destination="11543" id="13088"/>
|
||||
<outlet property="searchBar" destination="13084" id="13089"/>
|
||||
<outlet property="searchContentsController" destination="11543" id="13090"/>
|
||||
<outlet property="searchResultsDataSource" destination="11543" id="13091"/>
|
||||
<outlet property="searchResultsDelegate" destination="11543" id="13092"/>
|
||||
</connections>
|
||||
</searchDisplayController>
|
||||
</objects>
|
||||
<point key="canvasLocation" x="2513" y="907"/>
|
||||
</scene>
|
||||
|
|
Loading…
Reference in a new issue