summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.Tizen/Forms.cs
diff options
context:
space:
mode:
authorKangho Hur <kangho.hur@samsung.com>2017-02-03 15:21:16 +0900
committerKangho Hur <kangho.hur@samsung.com>2017-10-23 13:34:28 +0900
commit7f5c8541bca2d794efa653dc20e3f4226dfa1a50 (patch)
treea1658bf27a0930b4f8763dd4614bba6ca153d4c6 /Xamarin.Forms.Platform.Tizen/Forms.cs
parent8ff5de6c8ea187fcb57a4dda2bf10ea71c630e3b (diff)
downloadxamarin-forms-7f5c8541bca2d794efa653dc20e3f4226dfa1a50.tar.gz
xamarin-forms-7f5c8541bca2d794efa653dc20e3f4226dfa1a50.tar.bz2
xamarin-forms-7f5c8541bca2d794efa653dc20e3f4226dfa1a50.zip
Rebase Forms to upstream lastest (2.3.4-pre2)
- Synced with 3c7b291. (https://github.com/xamarin/Xamarin.Forms/commit/3c7b2918b3065a81ecb4040fde09d93aae09f62d) - [Core] Device.Tizen has been added newly. - Package version has updated to 2.3.4-r190-001 Change-Id: I948fd73212744aa8c1941dc6a6d8e46eb29523af
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;
}