mirror of
				https://github.com/commons-app/apps-android-commons.git
				synced 2025-10-31 06:43:56 +01:00 
			
		
		
		
	
							parent
							
								
									aa84dedd64
								
							
						
					
					
						commit
						88eedc3506
					
				
					 5 changed files with 17 additions and 17 deletions
				
			
		|  | @ -86,7 +86,7 @@ class LoginActivity : AccountAuthenticatorActivity() { | |||
|             loginPassword.addTextChangedListener(textWatcher) | ||||
|             loginTwoFactor.addTextChangedListener(textWatcher) | ||||
| 
 | ||||
| //            skipLogin.setOnClickListener { skipLogin() } | ||||
|             skipLogin.setOnClickListener { skipLogin() } | ||||
|             forgotPassword.setOnClickListener { forgotPassword() } | ||||
|             aboutPrivacyPolicy.setOnClickListener { onPrivacyPolicyClicked() } | ||||
|             signUpButton.setOnClickListener { signUp() } | ||||
|  |  | |||
|  | @ -478,13 +478,13 @@ after opening the app. | |||
|      * @param longitude current longitude of Nearby map | ||||
|      */ | ||||
|     fun loadExploreMapFromNearby(zoom: Double, latitude: Double, longitude: Double) { | ||||
| //        val bundle = Bundle() | ||||
| //        bundle.putDouble("prev_zoom", zoom) | ||||
| //        bundle.putDouble("prev_latitude", latitude) | ||||
| //        bundle.putDouble("prev_longitude", longitude) | ||||
| // | ||||
| //        loadFragment(ExploreFragment.newInstance(), false, bundle) | ||||
| //        setSelectedItemId(NavTab.EXPLORE.code()) | ||||
|         val bundle = Bundle() | ||||
|         bundle.putDouble("prev_zoom", zoom) | ||||
|         bundle.putDouble("prev_latitude", latitude) | ||||
|         bundle.putDouble("prev_longitude", longitude) | ||||
| 
 | ||||
|         loadFragment(ExploreFragment.newInstance(), false, bundle) | ||||
|         setSelectedItemId(NavTab.EXPLORE.code()) | ||||
|     } | ||||
| 
 | ||||
|     /** | ||||
|  |  | |||
|  | @ -67,9 +67,9 @@ class MoreBottomSheetFragment : BottomSheetDialogFragment() { | |||
|     ): View? { | ||||
|         binding = FragmentMoreBottomSheetBinding.inflate(inflater, container, false) | ||||
| 
 | ||||
| //        if (store.getBoolean(CommonsApplication.IS_LIMITED_CONNECTION_MODE_ENABLED)) { | ||||
|         if (store.getBoolean(CommonsApplication.IS_LIMITED_CONNECTION_MODE_ENABLED)) { | ||||
|             binding?.morePeerReview?.visibility = View.GONE | ||||
| //        } | ||||
|         } | ||||
| 
 | ||||
|         binding?.apply { | ||||
|             moreLogout.setOnClickListener { onLogoutClicked() } | ||||
|  |  | |||
|  | @ -29,11 +29,11 @@ enum class NavTab( | |||
|             return NearbyParentFragment.newInstance() | ||||
|         } | ||||
|     }, | ||||
| //    EXPLORE(R.string.navigation_item_explore, R.drawable.ic_globe) { | ||||
| //        override fun newInstance(): Fragment { | ||||
| //            return ExploreFragment.newInstance() | ||||
| //        } | ||||
| //    }, | ||||
|     EXPLORE(R.string.navigation_item_explore, R.drawable.ic_globe) { | ||||
|         override fun newInstance(): Fragment { | ||||
|             return ExploreFragment.newInstance() | ||||
|         } | ||||
|     }, | ||||
|     BOOKMARKS(R.string.bookmarks, R.drawable.ic_round_star_border_24px) { | ||||
|         override fun newInstance(): Fragment { | ||||
|             return BookmarkFragment.newInstance() | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Nicolas Raoul
						Nicolas Raoul