summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.Tizen/Forms.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Platform.Tizen/Forms.cs')
-rw-r--r--Xamarin.Forms.Platform.Tizen/Forms.cs8
1 files changed, 5 insertions, 3 deletions
diff --git a/Xamarin.Forms.Platform.Tizen/Forms.cs b/Xamarin.Forms.Platform.Tizen/Forms.cs
index 51914250..892faf58 100644
--- a/Xamarin.Forms.Platform.Tizen/Forms.cs
+++ b/Xamarin.Forms.Platform.Tizen/Forms.cs
@@ -136,8 +136,6 @@ namespace Xamarin.Forms.Platform.Tizen
Elementary.ThemeOverlay();
}
- Device.OS = TargetPlatform.Tizen;
-
// In .NETCore, AppDomain feature is not supported.
// The list of assemblies returned by AppDomain.GetAssemblies() method should be registered manually.
// The assembly of the executing application and referenced assemblies of it are added into the list here.
@@ -184,7 +182,11 @@ namespace Xamarin.Forms.Platform.Tizen
{
Device.Idiom = TargetIdiom.Phone;
}
- else if (profile == "tv" || profile == "desktop")
+ else if (profile == "tv")
+ {
+ Device.Idiom = TargetIdiom.TV;
+ }
+ else if ( profile == "desktop")
{
Device.Idiom = TargetIdiom.Desktop;
}