From 3f3cf05d6f39af16553bd7f402d582062e6fb5d5 Mon Sep 17 00:00:00 2001 From: Filip Navara Date: Tue, 5 Mar 2024 14:35:24 +0100 Subject: [PATCH] Fix using removed Dismiss overload --- src/Acr.UserDialogs/Platforms/Android/ProgressDialog.cs | 2 +- src/Acr.UserDialogs/Platforms/Android/UserDialogsImpl.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Acr.UserDialogs/Platforms/Android/ProgressDialog.cs b/src/Acr.UserDialogs/Platforms/Android/ProgressDialog.cs index b74fd78d..0a8f94ce 100644 --- a/src/Acr.UserDialogs/Platforms/Android/ProgressDialog.cs +++ b/src/Acr.UserDialogs/Platforms/Android/ProgressDialog.cs @@ -76,7 +76,7 @@ public virtual void Hide() this.IsShowing = false; try { - AndHUD.Shared.Dismiss(activity); + AndHUD.Shared.Dismiss(); } catch(Exception exc) { diff --git a/src/Acr.UserDialogs/Platforms/Android/UserDialogsImpl.cs b/src/Acr.UserDialogs/Platforms/Android/UserDialogsImpl.cs index bf3602ce..5ca7a520 100644 --- a/src/Acr.UserDialogs/Platforms/Android/UserDialogsImpl.cs +++ b/src/Acr.UserDialogs/Platforms/Android/UserDialogsImpl.cs @@ -1,4 +1,4 @@ -using System; +using System; using Acr.UserDialogs.Builders; using Acr.UserDialogs.Fragments; using Acr.UserDialogs.Infrastructure; @@ -232,7 +232,7 @@ protected virtual IDisposable ToastFallback(Activity activity, ToastConfig cfg) { try { - AndHUD.Shared.Dismiss(activity); + AndHUD.Shared.Dismiss(); } catch {