summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSungHyun Min <shyun.min@samsung.com>2017-03-24 20:00:14 +0900
committerSungHyun Min <shyun.min@samsung.com>2017-03-24 20:00:49 +0900
commit34eba499b58193fe467ef673da093e91a0d55ef3 (patch)
treedfc40cb82c9af2fac660208e182d3378cad2b051
parent2c695331c9d4f6aade8fb468f6f8c152bf21ba23 (diff)
downloadxamarin-forms-34eba499b58193fe467ef673da093e91a0d55ef3.tar.gz
xamarin-forms-34eba499b58193fe467ef673da093e91a0d55ef3.tar.bz2
xamarin-forms-34eba499b58193fe467ef673da093e91a0d55ef3.zip
Fix SVACE issue
Change-Id: I706b16490edbd56462b665dbf861ea7fc3f01a3d Signed-off-by: SungHyun Min <shyun.min@samsung.com>
-rw-r--r--Xamarin.Forms.Platform.Tizen/Extensions/KeyboardExtensions.cs8
-rw-r--r--Xamarin.Forms.Platform.Tizen/GestureDetector.cs5
-rw-r--r--Xamarin.Forms.Platform.Tizen/Renderers/NavigationPageRenderer.cs4
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