mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 12:53:55 +01:00
* Fixed bug - Number of Contributions not updating unless app is restarted, #2324 * Inverted if statement for better readability
This commit is contained in:
parent
68014f69eb
commit
5c4278bbff
1 changed files with 6 additions and 0 deletions
|
|
@ -332,6 +332,12 @@ public class ContributionsFragment
|
||||||
for (DataSetObserver observer : observersWaitingForLoad) {
|
for (DataSetObserver observer : observersWaitingForLoad) {
|
||||||
observer.onChanged();
|
observer.onChanged();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (ConfigUtils.isBetaFlavour()) {
|
||||||
|
betaSetUploadCount(getTotalMediaCount());
|
||||||
|
} else {
|
||||||
|
setUploadCount();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue