diff --git a/src/Uno.Toolkit.UI/Controls/Card/Card.Properties.cs b/src/Uno.Toolkit.UI/Controls/Card/Card.Properties.cs index 7c3d751df..7fdded9fc 100644 --- a/src/Uno.Toolkit.UI/Controls/Card/Card.Properties.cs +++ b/src/Uno.Toolkit.UI/Controls/Card/Card.Properties.cs @@ -30,12 +30,8 @@ private static class FocusStates public const string PointerFocused = nameof(PointerFocused); } - private static readonly Windows.UI.Color DefaultShadowColor -#if __ANDROID__ - = Colors.Black; -#else - = Windows.UI.Color.FromArgb(64, 0, 0, 0); -#endif + private static readonly Windows.UI.Color DefaultShadowColor = + Windows.UI.Color.FromArgb(64, 0, 0, 0); } public partial class Card diff --git a/src/Uno.Toolkit.UI/Controls/CardContentControl/CardContentControl.cs b/src/Uno.Toolkit.UI/Controls/CardContentControl/CardContentControl.cs index 255430228..eff438436 100644 --- a/src/Uno.Toolkit.UI/Controls/CardContentControl/CardContentControl.cs +++ b/src/Uno.Toolkit.UI/Controls/CardContentControl/CardContentControl.cs @@ -34,12 +34,8 @@ private static class FocusStates public const string PointerFocused = nameof(PointerFocused); } - private static readonly Windows.UI.Color DefaultShadowColor -#if __ANDROID__ - = Colors.Black; -#else - = Windows.UI.Color.FromArgb(64, 0, 0, 0); -#endif + private static readonly Windows.UI.Color DefaultShadowColor = + Windows.UI.Color.FromArgb(64, 0, 0, 0); } ///