diff options
Diffstat (limited to 'Xamarin.Forms.Platform.Tizen/Renderers/ScrollViewRenderer.cs')
-rw-r--r-- | Xamarin.Forms.Platform.Tizen/Renderers/ScrollViewRenderer.cs | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/Xamarin.Forms.Platform.Tizen/Renderers/ScrollViewRenderer.cs b/Xamarin.Forms.Platform.Tizen/Renderers/ScrollViewRenderer.cs index 19244f95..e9901334 100644 --- a/Xamarin.Forms.Platform.Tizen/Renderers/ScrollViewRenderer.cs +++ b/Xamarin.Forms.Platform.Tizen/Renderers/ScrollViewRenderer.cs @@ -1,7 +1,6 @@ using System; using System.ComponentModel; using ElmSharp; -using ElmSharp.Wearable; namespace Xamarin.Forms.Platform.Tizen { @@ -28,15 +27,7 @@ namespace Xamarin.Forms.Platform.Tizen { if (Control == null) { - ///TODO: If 'Watch' target idiom is added, it should be replaced something like Device.Idiom == TargetIdiom.Watch. - if (Forms.GetProfile() == "wearable") - { - SetNativeControl(new CircleScroller(Forms.Context.MainWindow)); - } - else - { - SetNativeControl(new Scroller(Forms.Context.MainWindow)); - } + SetNativeControl(new Scroller(Forms.Context.MainWindow)); Control.Scrolled += OnScrolled; } |