Skip to content

Commit

Permalink
Fix using removed Dismiss overload
Browse files Browse the repository at this point in the history
  • Loading branch information
filipnavara committed Mar 5, 2024
1 parent e7dca0b commit 3f3cf05
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Acr.UserDialogs/Platforms/Android/ProgressDialog.cs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public virtual void Hide()
this.IsShowing = false;
try
{
AndHUD.Shared.Dismiss(activity);
AndHUD.Shared.Dismiss();
}
catch(Exception exc)
{
Expand Down
4 changes: 2 additions & 2 deletions src/Acr.UserDialogs/Platforms/Android/UserDialogsImpl.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;
using Acr.UserDialogs.Builders;
using Acr.UserDialogs.Fragments;
using Acr.UserDialogs.Infrastructure;
Expand Down Expand Up @@ -232,7 +232,7 @@ protected virtual IDisposable ToastFallback(Activity activity, ToastConfig cfg)
{
try
{
AndHUD.Shared.Dismiss(activity);
AndHUD.Shared.Dismiss();
}
catch
{
Expand Down

0 comments on commit 3f3cf05

Please sign in to comment.