fix native.dialog unrealize issue
authordarkleem <cdark.lim@samsung.com>
Tue, 16 May 2017 10:05:17 +0000 (19:05 +0900)
committerKangho Hur <kangho.hur@samsung.com>
Mon, 10 Jul 2017 02:11:25 +0000 (11:11 +0900)
Change-Id: I85debf0424ce08aad63b9ffcc800afc20b27578c
Signed-off-by: darkleem <cdark.lim@samsung.com>
Xamarin.Forms.Platform.Tizen/Native/Dialog.cs

index 6d1dde1..e9d0e24 100644 (file)
@@ -144,7 +144,9 @@ namespace Xamarin.Forms.Platform.Tizen.Native
                protected override void OnUnrealize()
                {
                        _content?.Unrealize();
-
+                       _positiveButton?.Unrealize();
+                       _neutralButton?.Unrealize();
+                       _negativeButton?.Unrealize();
                        ApplyButton(ButtonPosition.Positive, null);
                        ApplyButton(ButtonPosition.Neutral, null);
                        ApplyButton(ButtonPosition.Negative, null);