Skip to content

Commit

Permalink
Revert previous commit, wrong branch
Browse files Browse the repository at this point in the history
This reverts commit aa84ded.
  • Loading branch information
nicolas-raoul committed Feb 26, 2025
1 parent aa84ded commit 88eedc3
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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() }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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())
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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() }
Expand Down
10 changes: 5 additions & 5 deletions app/src/main/java/fr/free/nrw/commons/navtab/NavTab.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/res/layout/activity_login.xml
Original file line number Diff line number Diff line change
Expand Up @@ -207,15 +207,15 @@
android:text="@string/forgot_password"
android:visibility="visible" />

<!-- <fr.free.nrw.commons.ui.widget.HtmlTextView
<fr.free.nrw.commons.ui.widget.HtmlTextView
android:id="@+id/skip_login"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/forgot_password"
android:layout_marginBottom="@dimen/standard_gap"
android:gravity="center_horizontal"
android:text="@string/skip_login"
android:visibility="visible" />-->
android:visibility="visible" />

</RelativeLayout>

Expand Down

0 comments on commit 88eedc3

Please sign in to comment.