mirror of
https://github.com/bitwarden/android.git
synced 2024-10-31 15:15:34 +03:00
fix issue with search bar color on iOS (#1095)
This commit is contained in:
parent
67bc59f6b6
commit
26175fbe1b
1 changed files with 2 additions and 4 deletions
|
@ -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<IDeviceActionService>("deviceActionService", true);
|
||||
if (!deviceActionService?.UsingDarkTheme() ?? false)
|
||||
if (ThemeManager.UsingLightTheme)
|
||||
{
|
||||
TextColor = Color.Black;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue