Fix #2324: Number of contributions updates on upload (#2587)

* Fixed bug - Number of Contributions not updating unless app is restarted, #2324
* Inverted if statement for better readability
This commit is contained in:
Madhur Gupta 2019-03-16 04:45:11 +05:30 committed by Adam Jones
parent 68014f69eb
commit 5c4278bbff

View file

@ -332,6 +332,12 @@ public class ContributionsFragment
for (DataSetObserver observer : observersWaitingForLoad) {
observer.onChanged();
}
if (ConfigUtils.isBetaFlavour()) {
betaSetUploadCount(getTotalMediaCount());
} else {
setUploadCount();
}
}
/**