mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-29 13:53:54 +01:00
* Fix #2215 Added BetaCheckerUtil class and made necessary changes * Fix #2215 Fixed formatting error in LogSender class * Fix #2215 Renamed BetaCheckerUtil to ConfigUtils * Fix #2215 Fixed formatting in CommonsApplicationModule
This commit is contained in:
parent
cd322d2f57
commit
b05b302e65
9 changed files with 39 additions and 24 deletions
|
|
@ -28,6 +28,7 @@ import fr.free.nrw.commons.mwapi.MediaWikiApi;
|
|||
import fr.free.nrw.commons.nearby.NearbyPlaces;
|
||||
import fr.free.nrw.commons.settings.Prefs;
|
||||
import fr.free.nrw.commons.upload.UploadController;
|
||||
import fr.free.nrw.commons.utils.ConfigUtils;
|
||||
import fr.free.nrw.commons.wikidata.WikidataEditListener;
|
||||
import fr.free.nrw.commons.wikidata.WikidataEditListenerImpl;
|
||||
|
||||
|
|
@ -220,6 +221,6 @@ public class CommonsApplicationModule {
|
|||
@Provides
|
||||
@Singleton
|
||||
public boolean provideIsBetaVariant() {
|
||||
return BuildConfig.FLAVOR.equals("beta");
|
||||
return ConfigUtils.isBetaFlavour();
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue