summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Core
diff options
context:
space:
mode:
authorJason Smith <jason.smith@xamarin.com>2016-12-15 18:48:00 (GMT)
committerJason Smith <jason.smith@xamarin.com>2016-12-15 18:48:00 (GMT)
commit3716c57aabc2407b02a8fd724d6ad9074e7b9d8f (patch)
tree1f31ab5c2926611c7da9670a106eedc418763994 /Xamarin.Forms.Core
parent8f1bb7b4b2ae8fd182c3874f208a12d549d230dd (diff)
downloadxamarin-forms-3716c57aabc2407b02a8fd724d6ad9074e7b9d8f.zip
xamarin-forms-3716c57aabc2407b02a8fd724d6ad9074e7b9d8f.tar.gz
xamarin-forms-3716c57aabc2407b02a8fd724d6ad9074e7b9d8f.tar.bz2
Remove overload causing backwards compatibility issues
Diffstat (limited to 'Xamarin.Forms.Core')
-rw-r--r--Xamarin.Forms.Core/Device.cs15
1 files changed, 0 insertions, 15 deletions
diff --git a/Xamarin.Forms.Core/Device.cs b/Xamarin.Forms.Core/Device.cs
index 50fdcfc..5a02bce 100644
--- a/Xamarin.Forms.Core/Device.cs
+++ b/Xamarin.Forms.Core/Device.cs
@@ -88,21 +88,6 @@ namespace Xamarin.Forms
}
}
- public static void OnPlatform(Action iOS = null, Action Android = null, Action WinPhone = null, Action Default = null, Action Tizen = null)
- {
- if (OS == TargetPlatform.Tizen)
- {
- if (Tizen != null)
- Tizen();
- else if (Default != null)
- Default();
- }
- else
- {
- OnPlatform(iOS, Android, WinPhone, Default);
- }
- }
-
public static T OnPlatform<T>(T iOS, T Android, T WinPhone)
{
switch (OS)