Skip to content
This repository has been archived by the owner on Dec 28, 2023. It is now read-only.

Fix TwoButtonPage issue on shell #255

Merged
merged 1 commit into from
Mar 10, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
using System.Text;
using Xamarin.Forms;
using Xamarin.Forms.Platform.Tizen;
using XForms = Xamarin.Forms.Forms;

[assembly: ExportEffect(typeof(Tizen.Wearable.CircularUI.Forms.Renderer.TizenCircleSurfaceEffect), "CircleSurfaceEffect")]
namespace Tizen.Wearable.CircularUI.Forms.Renderer
Expand All @@ -43,7 +44,7 @@ protected override void OnAttached()
{
var rect = Control.Geometry;

_surfaceLayout = new ElmSharp.Layout(Container);
_surfaceLayout = new ElmSharp.Layout(XForms.NativeParent);
_surfaceLayout.Show();
_surface = new ElmSharp.Wearable.CircleSurface(_surfaceLayout);
_surfaceLayout.Geometry = rect;
Expand Down