mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
Changed default value of skip login to false
This commit is contained in:
parent
f12f1d50a3
commit
825a529003
2 changed files with 3 additions and 3 deletions
|
|
@ -379,7 +379,7 @@ public class NearbyMapFragment extends DaggerFragment {
|
|||
|
||||
private void setListeners() {
|
||||
fabPlus.setOnClickListener(view -> {
|
||||
if (applicationPrefs.getBoolean("login_skipped", true)) {
|
||||
if (applicationPrefs.getBoolean("login_skipped", false)) {
|
||||
// prompt the user to login
|
||||
new AlertDialog.Builder(getContext())
|
||||
.setMessage(R.string.login_alert_message)
|
||||
|
|
|
|||
|
|
@ -112,7 +112,7 @@ public class PlaceRenderer extends Renderer<Place> {
|
|||
});
|
||||
|
||||
cameraButton.setOnClickListener(view2 -> {
|
||||
if (applicationPrefs.getBoolean("login_skipped", true)) {
|
||||
if (applicationPrefs.getBoolean("login_skipped", false)) {
|
||||
// prompt the user to login
|
||||
new AlertDialog.Builder(getContext())
|
||||
.setMessage(R.string.login_alert_message)
|
||||
|
|
@ -133,7 +133,7 @@ public class PlaceRenderer extends Renderer<Place> {
|
|||
|
||||
|
||||
galleryButton.setOnClickListener(view3 -> {
|
||||
if (applicationPrefs.getBoolean("login_skipped", true)) {
|
||||
if (applicationPrefs.getBoolean("login_skipped", false)) {
|
||||
// prompt the user to login
|
||||
new AlertDialog.Builder(getContext())
|
||||
.setMessage(R.string.login_alert_message)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue