summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.Tizen/TizenPlatformServices.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Platform.Tizen/TizenPlatformServices.cs')
-rw-r--r--Xamarin.Forms.Platform.Tizen/TizenPlatformServices.cs9
1 files changed, 1 insertions, 8 deletions
diff --git a/Xamarin.Forms.Platform.Tizen/TizenPlatformServices.cs b/Xamarin.Forms.Platform.Tizen/TizenPlatformServices.cs
index 449b0938..5e6c71cf 100644
--- a/Xamarin.Forms.Platform.Tizen/TizenPlatformServices.cs
+++ b/Xamarin.Forms.Platform.Tizen/TizenPlatformServices.cs
@@ -95,14 +95,7 @@ namespace Xamarin.Forms.Platform.Tizen
public void BeginInvokeOnMainThread(Action action)
{
- if (EcoreMainloop.IsMainThread)
- {
- action();
- }
- else
- {
- s_context.Post((o) => action(), null);
- }
+ s_context.Post((o) => action(), null);
}
public Ticker CreateTicker()