summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.Tizen/Platform.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Platform.Tizen/Platform.cs')
-rw-r--r--Xamarin.Forms.Platform.Tizen/Platform.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/Xamarin.Forms.Platform.Tizen/Platform.cs b/Xamarin.Forms.Platform.Tizen/Platform.cs
index 5b0fd349..8111a832 100644
--- a/Xamarin.Forms.Platform.Tizen/Platform.cs
+++ b/Xamarin.Forms.Platform.Tizen/Platform.cs
@@ -13,8 +13,8 @@ namespace Xamarin.Forms.Platform.Tizen
propertyChanged: (bindable, oldvalue, newvalue) =>
{
var ve = bindable as VisualElement;
- if (ve != null)
- ve.IsPlatformEnabled = newvalue != null;
+ if (ve != null && newvalue == null)
+ ve.IsPlatformEnabled = false;
});
Naviframe _naviframe;
@@ -339,4 +339,4 @@ namespace Xamarin.Forms.Platform.Tizen
tcs?.SetResult(true);
}
}
-} \ No newline at end of file
+}