mirror of
https://github.com/bitwarden/mobile
synced 2025-02-03 11:58:06 +01:00
fix issue with search bar color on iOS (#1095)
This commit is contained in:
parent
67bc59f6b6
commit
26175fbe1b
@ -1,5 +1,4 @@
|
|||||||
using Bit.App.Abstractions;
|
using Bit.App.Utilities;
|
||||||
using Bit.Core.Utilities;
|
|
||||||
using Xamarin.Forms;
|
using Xamarin.Forms;
|
||||||
|
|
||||||
namespace Bit.App.Controls
|
namespace Bit.App.Controls
|
||||||
@ -10,8 +9,7 @@ namespace Bit.App.Controls
|
|||||||
{
|
{
|
||||||
if (Device.RuntimePlatform == Device.iOS)
|
if (Device.RuntimePlatform == Device.iOS)
|
||||||
{
|
{
|
||||||
var deviceActionService = ServiceContainer.Resolve<IDeviceActionService>("deviceActionService", true);
|
if (ThemeManager.UsingLightTheme)
|
||||||
if (!deviceActionService?.UsingDarkTheme() ?? false)
|
|
||||||
{
|
{
|
||||||
TextColor = Color.Black;
|
TextColor = Color.Black;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user