summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSungHyun Min <shyun.min@samsung.com>2017-03-24 11:00:14 (GMT)
committerSungHyun Min <shyun.min@samsung.com>2017-03-24 11:00:49 (GMT)
commit34eba499b58193fe467ef673da093e91a0d55ef3 (patch)
treedfc40cb82c9af2fac660208e182d3378cad2b051
parent2c695331c9d4f6aade8fb468f6f8c152bf21ba23 (diff)
downloadxamarin-forms-34eba499b58193fe467ef673da093e91a0d55ef3.zip
xamarin-forms-34eba499b58193fe467ef673da093e91a0d55ef3.tar.gz
xamarin-forms-34eba499b58193fe467ef673da093e91a0d55ef3.tar.bz2
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 000b6bb..9cc02b2 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 f2a3aac..2bbb066 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 4953b6b..760abc3 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