Skip to content

Commit

Permalink
Fixed MasterDetailPage Color error
Browse files Browse the repository at this point in the history
  • Loading branch information
jsuarezruiz committed Jun 23, 2017
1 parent 13fa627 commit 74ef361
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Xamarin.Forms.Platform.GTK/Controls/MasterDetailPage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -376,11 +376,11 @@ public void UpdateBackgroundColor(Gdk.Color? backgroundColor)
{
if (backgroundColor.HasValue)
{
ModifyFg(StateType.Normal, backgroundColor.Value);
ModifyBg(StateType.Normal, backgroundColor.Value);
}
else
{
ModifyFg(StateType.Normal, _defaultTextColor);
ModifyBg(StateType.Normal, _defaultTextColor);
}
}

Expand Down

0 comments on commit 74ef361

Please sign in to comment.