From 6eb266707d55a59c644066170020b4c843e7c7fc Mon Sep 17 00:00:00 2001 From: Samantha Houts Date: Mon, 13 Jan 2020 16:24:21 -0800 Subject: [PATCH] Undo unrelated changes from #9138 (#9192) --- GitInfo.txt | 2 +- Xamarin.Forms.Platform.Android/Renderers/SearchBarRenderer.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/GitInfo.txt b/GitInfo.txt index 6016e8addc4..a84947d6ffe 100644 --- a/GitInfo.txt +++ b/GitInfo.txt @@ -1 +1 @@ -4.6.0 +4.5.0 diff --git a/Xamarin.Forms.Platform.Android/Renderers/SearchBarRenderer.cs b/Xamarin.Forms.Platform.Android/Renderers/SearchBarRenderer.cs index c955124412d..5bac13f8589 100644 --- a/Xamarin.Forms.Platform.Android/Renderers/SearchBarRenderer.cs +++ b/Xamarin.Forms.Platform.Android/Renderers/SearchBarRenderer.cs @@ -61,7 +61,7 @@ public override SizeRequest GetDesiredSize(int widthConstraint, int heightConstr protected override SearchView CreateNativeControl() { - var context = (Context as ContextThemeWrapper)?.BaseContext ?? Context; + var context = (Context as ContextThemeWrapper).BaseContext ?? Context; return new SearchView(context); }