File tree 5 files changed +17
-17
lines changed
5 files changed +17
-17
lines changed Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ class LoginActivity : AccountAuthenticatorActivity() {
86
86
loginPassword.addTextChangedListener(textWatcher)
87
87
loginTwoFactor.addTextChangedListener(textWatcher)
88
88
89
- // skipLogin.setOnClickListener { skipLogin() }
89
+ skipLogin.setOnClickListener { skipLogin() }
90
90
forgotPassword.setOnClickListener { forgotPassword() }
91
91
aboutPrivacyPolicy.setOnClickListener { onPrivacyPolicyClicked() }
92
92
signUpButton.setOnClickListener { signUp() }
Original file line number Diff line number Diff line change @@ -478,13 +478,13 @@ after opening the app.
478
478
* @param longitude current longitude of Nearby map
479
479
*/
480
480
fun loadExploreMapFromNearby (zoom : Double , latitude : Double , longitude : Double ) {
481
- // val bundle = Bundle()
482
- // bundle.putDouble("prev_zoom", zoom)
483
- // bundle.putDouble("prev_latitude", latitude)
484
- // bundle.putDouble("prev_longitude", longitude)
485
- //
486
- // loadFragment(ExploreFragment.newInstance(), false, bundle)
487
- // setSelectedItemId(NavTab.EXPLORE.code())
481
+ val bundle = Bundle ()
482
+ bundle.putDouble(" prev_zoom" , zoom)
483
+ bundle.putDouble(" prev_latitude" , latitude)
484
+ bundle.putDouble(" prev_longitude" , longitude)
485
+
486
+ loadFragment(ExploreFragment .newInstance(), false , bundle)
487
+ setSelectedItemId(NavTab .EXPLORE .code())
488
488
}
489
489
490
490
/* *
Original file line number Diff line number Diff line change @@ -67,9 +67,9 @@ class MoreBottomSheetFragment : BottomSheetDialogFragment() {
67
67
): View ? {
68
68
binding = FragmentMoreBottomSheetBinding .inflate(inflater, container, false )
69
69
70
- // if (store.getBoolean(CommonsApplication.IS_LIMITED_CONNECTION_MODE_ENABLED)) {
70
+ if (store.getBoolean(CommonsApplication .IS_LIMITED_CONNECTION_MODE_ENABLED )) {
71
71
binding?.morePeerReview?.visibility = View .GONE
72
- // }
72
+ }
73
73
74
74
binding?.apply {
75
75
moreLogout.setOnClickListener { onLogoutClicked() }
Original file line number Diff line number Diff line change @@ -29,11 +29,11 @@ enum class NavTab(
29
29
return NearbyParentFragment .newInstance()
30
30
}
31
31
},
32
- // EXPLORE(R.string.navigation_item_explore, R.drawable.ic_globe) {
33
- // override fun newInstance(): Fragment {
34
- // return ExploreFragment.newInstance()
35
- // }
36
- // },
32
+ EXPLORE (R .string.navigation_item_explore, R .drawable.ic_globe) {
33
+ override fun newInstance (): Fragment {
34
+ return ExploreFragment .newInstance()
35
+ }
36
+ },
37
37
BOOKMARKS (R .string.bookmarks, R .drawable.ic_round_star_border_24px) {
38
38
override fun newInstance (): Fragment {
39
39
return BookmarkFragment .newInstance()
Original file line number Diff line number Diff line change 207
207
android : text =" @string/forgot_password"
208
208
android : visibility =" visible" />
209
209
210
- <!-- <fr.free.nrw.commons.ui.widget.HtmlTextView
210
+ <fr .free.nrw.commons.ui.widget.HtmlTextView
211
211
android : id =" @+id/skip_login"
212
212
android : layout_width =" match_parent"
213
213
android : layout_height =" wrap_content"
214
214
android : layout_below =" @id/forgot_password"
215
215
android : layout_marginBottom =" @dimen/standard_gap"
216
216
android : gravity =" center_horizontal"
217
217
android : text =" @string/skip_login"
218
- android:visibility="visible" />-->
218
+ android : visibility =" visible" />
219
219
220
220
</RelativeLayout >
221
221
You can’t perform that action at this time.
0 commit comments