summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Xamarin.Forms.Platform.Tizen/FormsApplication.cs9
1 files changed, 5 insertions, 4 deletions
diff --git a/Xamarin.Forms.Platform.Tizen/FormsApplication.cs b/Xamarin.Forms.Platform.Tizen/FormsApplication.cs
index 66467b7c..83efe7a2 100644
--- a/Xamarin.Forms.Platform.Tizen/FormsApplication.cs
+++ b/Xamarin.Forms.Platform.Tizen/FormsApplication.cs
@@ -3,6 +3,7 @@ using System.ComponentModel;
using System.Diagnostics;
using Tizen.Applications;
using ElmSharp;
+using EButton = ElmSharp.Button;
using EProgressBar = ElmSharp.ProgressBar;
using EColor = ElmSharp.Color;
using ELabel = ElmSharp.Label;
@@ -194,7 +195,7 @@ namespace Xamarin.Forms.Platform.Tizen
alert.Content = box;
- Native.Button cancel = new Native.Button(alert) { Text = arguments.Cancel };
+ EButton cancel = new EButton(alert) { Text = arguments.Cancel };
alert.NegativeButton = cancel;
cancel.Clicked += (s, evt) =>
{
@@ -204,8 +205,8 @@ namespace Xamarin.Forms.Platform.Tizen
if (arguments.Accept != null)
{
- Native.Button ok = new Native.Button(alert) { Text = arguments.Accept };
- alert.PositiveButton = ok;
+ EButton ok = new EButton(alert) { Text = arguments.Accept };
+ alert.NeutralButton = ok;
ok.Clicked += (s, evt) =>
{
arguments.SetResult(true);
@@ -267,7 +268,7 @@ namespace Xamarin.Forms.Platform.Tizen
if (null != arguments.Cancel)
{
- Native.Button cancel = new Native.Button(Forms.Context.MainWindow) { Text = arguments.Cancel };
+ EButton cancel = new EButton(Forms.Context.MainWindow) { Text = arguments.Cancel };
alert.NegativeButton = cancel;
cancel.Clicked += (s, evt) =>
{