Skip to content

Commit

Permalink
fix: Shadow colors are no longer solid black on Android (#894)
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinZikmund committed Oct 31, 2023
1 parent 7661b6a commit 31028b2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
8 changes: 2 additions & 6 deletions src/Uno.Toolkit.UI/Controls/Card/Card.Properties.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

/// <summary>
Expand Down

0 comments on commit 31028b2

Please sign in to comment.