Fix issue with number of updates in notification
This commit is contained in:
parent
0624189905
commit
3c4a58b8a3
@ -104,7 +104,7 @@ public class UpdateService extends IntentService implements ProgressListener {
|
|||||||
public int getNumUpdates(List<DB.App> apps) {
|
public int getNumUpdates(List<DB.App> apps) {
|
||||||
int count = 0;
|
int count = 0;
|
||||||
for (DB.App app : apps) {
|
for (DB.App app : apps) {
|
||||||
if (!app.toUpdate)
|
if (app.toUpdate)
|
||||||
count++;
|
count++;
|
||||||
}
|
}
|
||||||
return count;
|
return count;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user