Skip to content

Commit

Permalink
Don't show notification after succ. cache download from infosheet (fix
Browse files Browse the repository at this point in the history
  • Loading branch information
moving-bits authored and bekuno committed Jul 21, 2024
1 parent 48859b2 commit 9a8f5b4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ public void onDestroy() {
if (downloadQuery.size() > 0) {
showEndNotification(getString(shouldStop ? R.string.caches_store_background_result_canceled : R.string.caches_store_background_result_failed,
cachesDownloaded.get(), cachesDownloaded.get() + downloadQuery.size()));
} else {
} else if (cachesDownloaded.get() != 1) { // see #15881
showEndNotification(getResources().getQuantityString(R.plurals.caches_store_background_result, cachesDownloaded.get(), cachesDownloaded.get()));
}
downloadQuery.clear();
Expand Down

0 comments on commit 9a8f5b4

Please sign in to comment.