From 26175fbe1bdfd30a80ac3a8e92e85e654c2ad9e4 Mon Sep 17 00:00:00 2001 From: Matt Portune <59324545+mportune-bw@users.noreply.github.com> Date: Mon, 28 Sep 2020 10:14:31 -0400 Subject: [PATCH] fix issue with search bar color on iOS (#1095) --- src/App/Controls/ExtendedSearchBar.cs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/App/Controls/ExtendedSearchBar.cs b/src/App/Controls/ExtendedSearchBar.cs index 4e52a354e..9b436dfa1 100644 --- a/src/App/Controls/ExtendedSearchBar.cs +++ b/src/App/Controls/ExtendedSearchBar.cs @@ -1,5 +1,4 @@ -using Bit.App.Abstractions; -using Bit.Core.Utilities; +using Bit.App.Utilities; using Xamarin.Forms; namespace Bit.App.Controls @@ -10,8 +9,7 @@ namespace Bit.App.Controls { if (Device.RuntimePlatform == Device.iOS) { - var deviceActionService = ServiceContainer.Resolve("deviceActionService", true); - if (!deviceActionService?.UsingDarkTheme() ?? false) + if (ThemeManager.UsingLightTheme) { TextColor = Color.Black; }