summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.Android/Renderers
diff options
context:
space:
mode:
authorE.Z. Hart <hartez@users.noreply.github.com>2016-05-02 14:55:43 -0600
committerE.Z. Hart <hartez@users.noreply.github.com>2016-05-02 14:55:43 -0600
commit93f22aaf28a3580b19559a793e2a3e6cd91b9bdb (patch)
tree6d8dfc9e36a7e3715cf3790d58268c27483d289c /Xamarin.Forms.Platform.Android/Renderers
parent2231302a182c9adff088fff3580791e2e0794336 (diff)
downloadxamarin-forms-93f22aaf28a3580b19559a793e2a3e6cd91b9bdb.tar.gz
xamarin-forms-93f22aaf28a3580b19559a793e2a3e6cd91b9bdb.tar.bz2
xamarin-forms-93f22aaf28a3580b19559a793e2a3e6cd91b9bdb.zip
Prep SearchBar for removal of InternalsVisibleTo (#137)
Diffstat (limited to 'Xamarin.Forms.Platform.Android/Renderers')
-rw-r--r--Xamarin.Forms.Platform.Android/Renderers/SearchBarRenderer.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Xamarin.Forms.Platform.Android/Renderers/SearchBarRenderer.cs b/Xamarin.Forms.Platform.Android/Renderers/SearchBarRenderer.cs
index e31b95aa..5e498952 100644
--- a/Xamarin.Forms.Platform.Android/Renderers/SearchBarRenderer.cs
+++ b/Xamarin.Forms.Platform.Android/Renderers/SearchBarRenderer.cs
@@ -31,7 +31,7 @@ namespace Xamarin.Forms.Platform.Android
bool SearchView.IOnQueryTextListener.OnQueryTextSubmit(string query)
{
- Element.OnSearchButtonPressed();
+ ((ISearchBarController)Element).OnSearchButtonPressed();
Control.ClearFocus();
return true;
}