mirror of
				https://github.com/commons-app/apps-android-commons.git
				synced 2025-10-30 22:34:02 +01:00 
			
		
		
		
	Merge branch 'fix_skip_login_nearby_bug' of github.com:ujjwalagrawal17/apps-android-commons
This commit is contained in:
		
						commit
						fa13c1b4f8
					
				
					 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) | ||||
|  |  | |||
|  | @ -113,7 +113,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) | ||||
|  | @ -134,7 +134,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
	
	 Nicolas Raoul
						Nicolas Raoul