mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 12:23:58 +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
|
|
@ -15,9 +15,9 @@ import javax.inject.Named;
|
|||
import butterknife.BindView;
|
||||
import butterknife.ButterKnife;
|
||||
import butterknife.OnClick;
|
||||
import butterknife.Optional;
|
||||
import fr.free.nrw.commons.quiz.QuizActivity;
|
||||
import fr.free.nrw.commons.theme.BaseActivity;
|
||||
import fr.free.nrw.commons.utils.ConfigUtils;
|
||||
|
||||
public class WelcomeActivity extends BaseActivity {
|
||||
|
||||
|
|
@ -56,7 +56,7 @@ public class WelcomeActivity extends BaseActivity {
|
|||
}
|
||||
|
||||
// Enable skip button if beta flavor
|
||||
if (BuildConfig.FLAVOR == "beta") {
|
||||
if (ConfigUtils.isBetaFlavour()) {
|
||||
findViewById(R.id.finishTutorialButton).setVisibility(View.VISIBLE);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue