diff options
author | SungHyun Min <shyun.min@samsung.com> | 2017-03-24 20:00:14 +0900 |
---|---|---|
committer | Kangho Hur <kangho.hur@samsung.com> | 2017-04-24 13:39:46 +0900 |
commit | 578c322d25a23c385ff3bc8bf46a069b6aea65b5 (patch) | |
tree | f28b5a6e665a4155f5420df28647a88a299b500a | |
parent | 8ecb9a7252abba688fc2af3216b515f0a45f1590 (diff) | |
download | xamarin-forms-578c322d25a23c385ff3bc8bf46a069b6aea65b5.tar.gz xamarin-forms-578c322d25a23c385ff3bc8bf46a069b6aea65b5.tar.bz2 xamarin-forms-578c322d25a23c385ff3bc8bf46a069b6aea65b5.zip |
Fix SVACE issue
Change-Id: I706b16490edbd56462b665dbf861ea7fc3f01a3d
Signed-off-by: SungHyun Min <shyun.min@samsung.com>
3 files changed, 5 insertions, 12 deletions
diff --git a/Xamarin.Forms.Platform.Tizen/Extensions/KeyboardExtensions.cs b/Xamarin.Forms.Platform.Tizen/Extensions/KeyboardExtensions.cs index 000b6bb2..9cc02b2a 100644 --- a/Xamarin.Forms.Platform.Tizen/Extensions/KeyboardExtensions.cs +++ b/Xamarin.Forms.Platform.Tizen/Extensions/KeyboardExtensions.cs @@ -9,11 +9,7 @@ namespace Xamarin.Forms.Platform.Tizen /// <param name="keyboard">The Xamarin.Forms.Keyboard class instance to be converted to ElmSharp.Keyboard.</param> public static Native.Keyboard ToNative(this Keyboard keyboard) { - if (keyboard is TextKeyboard) - { - return Native.Keyboard.Normal; - } - else if (keyboard is NumericKeyboard) + if (keyboard is NumericKeyboard) { return Native.Keyboard.Number; } @@ -39,4 +35,4 @@ namespace Xamarin.Forms.Platform.Tizen } } } -} +}
\ No newline at end of file diff --git a/Xamarin.Forms.Platform.Tizen/GestureDetector.cs b/Xamarin.Forms.Platform.Tizen/GestureDetector.cs index f2a3aac9..2bbb066e 100644 --- a/Xamarin.Forms.Platform.Tizen/GestureDetector.cs +++ b/Xamarin.Forms.Platform.Tizen/GestureDetector.cs @@ -129,6 +129,7 @@ namespace Xamarin.Forms.Platform.Tizen switch (gestureType) { case EGestureType.Tap: + case EGestureType.TripleTap: AddTapGesture(gestureType); break; @@ -136,10 +137,6 @@ namespace Xamarin.Forms.Platform.Tizen AddDoubleTapGesture(gestureType, timeout); break; - case EGestureType.TripleTap: - AddTapGesture(gestureType); - break; - case EGestureType.LongTap: AddLongTapGesture(gestureType, timeout); break; diff --git a/Xamarin.Forms.Platform.Tizen/Renderers/NavigationPageRenderer.cs b/Xamarin.Forms.Platform.Tizen/Renderers/NavigationPageRenderer.cs index 4953b6b8..760abc3b 100644 --- a/Xamarin.Forms.Platform.Tizen/Renderers/NavigationPageRenderer.cs +++ b/Xamarin.Forms.Platform.Tizen/Renderers/NavigationPageRenderer.cs @@ -414,7 +414,7 @@ namespace Xamarin.Forms.Platform.Tizen nre.Task = _currentTaskSource.Task; } else - topItem.Delete(); + topItem?.Delete(); } } @@ -476,4 +476,4 @@ namespace Xamarin.Forms.Platform.Tizen } } } -} +}
\ No newline at end of file |