Skip to content

Commit

Permalink
Added pending changes in Android AlertManager (#11989)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsuarezruiz authored Feb 16, 2023
1 parent de88e02 commit 3c631e7
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,12 @@ public void ResetBusyCount()

void OnPageBusy(IView sender, bool enabled)
{
// Verify that the page making the request is part of this activity
if (!PageIsInThisContext(sender))
{
return;
}

_busyCount = Math.Max(0, enabled ? _busyCount + 1 : _busyCount - 1);

UpdateProgressBarVisibility(_busyCount > 0);
Expand Down

0 comments on commit 3c631e7

Please sign in to comment.