Skip to content

Commit

Permalink
Update Page default background color (dotnet#533)
Browse files Browse the repository at this point in the history
  • Loading branch information
myroot committed Aug 25, 2022
1 parent 71199f3 commit 79c0378
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/Core/src/Handlers/Page/PageHandler.Tizen.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using Tizen.UIExtensions.Common;
using Tizen.UIExtensions.NUI;
using Tizen.UIExtensions.NUI;
using TColor = Tizen.UIExtensions.Common.Color;

namespace Microsoft.Maui.Handlers
Expand Down Expand Up @@ -27,7 +26,7 @@ public static void MapTitle(IPageHandler handler, IContentView page) { }
protected override ContentViewGroup CreatePlatformView()
{
var view = base.CreatePlatformView();
view.UpdateBackgroundColor((DeviceInfo.DeviceType == DeviceType.TV) ? TColor.Transparent : TColor.White);
view.UpdateBackgroundColor(TColor.White);

return view;
}
Expand Down

0 comments on commit 79c0378

Please sign in to comment.