diff options
author | Kangho Hur <kangho.hur@samsung.com> | 2017-02-03 15:21:16 +0900 |
---|---|---|
committer | Kangho Hur <kangho.hur@samsung.com> | 2017-07-10 11:11:18 +0900 |
commit | fd5428fd812ef82691bcfc7549e637fd507184f3 (patch) | |
tree | 0b0abdf0874e7d7a0f24bc0abcac745d518ca996 /Xamarin.Forms.Platform.Tizen/Forms.cs | |
parent | fa630f123e33a9d15207181b690da4bd9e73beb6 (diff) | |
download | xamarin-forms-fd5428fd812ef82691bcfc7549e637fd507184f3.tar.gz xamarin-forms-fd5428fd812ef82691bcfc7549e637fd507184f3.tar.bz2 xamarin-forms-fd5428fd812ef82691bcfc7549e637fd507184f3.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.cs | 8 |
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; } |