Skip to content

Commit

Permalink
Added pending changes in Android AlertManager (dotnet#11989)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsuarezruiz authored and TJ Lambert committed Feb 21, 2023
1 parent 5932685 commit 0645f14
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 0645f14

Please sign in to comment.