Changed default value of skip login to false

This commit is contained in:
Ujjwal Agrawal 2018-08-07 23:12:28 +05:30
parent f12f1d50a3
commit 825a529003
2 changed files with 3 additions and 3 deletions

View file

@ -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)

View file

@ -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)