Skip to content

Commit

Permalink
[Tizen] Fix build error on PageHandler
Browse files Browse the repository at this point in the history
  • Loading branch information
rookiejava committed Oct 12, 2021
1 parent 7ce50b2 commit 03cc6e4
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/Core/src/Handlers/Page/PageHandler.Tizen.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using EColor = ElmSharp.Color;
using Tizen.UIExtensions.Common;
using EColor = ElmSharp.Color;

namespace Microsoft.Maui.Handlers
{
Expand All @@ -14,7 +15,10 @@ public static void MapBackground(PageHandler handler, IContentView page)
handler.GetWrappedNativeView()?.UpdateBackground(page);
}

public static void MapTitle(PageHandler handler, IContentView page)
[MissingMapper]
public static void MapTitle(PageHandler handler, IContentView page) { }

protected override ContentCanvas CreateNativeView()
{
var view = base.CreateNativeView();
view.BackgroundColor = (DeviceInfo.GetDeviceType() == DeviceType.TV) ? EColor.Transparent : EColor.White;
Expand Down

0 comments on commit 03cc6e4

Please sign in to comment.