Skip to content

Commit

Permalink
Update Done
Browse files Browse the repository at this point in the history
  • Loading branch information
Akshaykomar890 committed Jan 16, 2025
1 parent 0c8763b commit 7d6a460
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ class SettingsFragment : PreferenceFragmentCompat() {
private var languageHistoryListView: ListView? = null

private lateinit var inAppCameraLocationPermissionLauncher: ActivityResultLauncher<Array<String>>
private val getContentPickerHelpUrl = "https://commons-app.github.io/docs.html#get-content"

private val cameraPickLauncherForResult: ActivityResultLauncher<Intent> =
registerForActivityResult(StartActivityForResult()) { result ->
Expand Down Expand Up @@ -297,7 +296,7 @@ class SettingsFragment : PreferenceFragmentCompat() {
getString(R.string.ok),
getString(R.string.read_help_link),
{ },
{ Utils.handleWebUrl(requireContext(), Uri.parse(getContentPickerHelpUrl)) },
{ Utils.handleWebUrl(requireContext(), Uri.parse(GET_CONTENT_PICKER_HELP_URL)) },
null
)
}
Expand Down Expand Up @@ -511,6 +510,7 @@ class SettingsFragment : PreferenceFragmentCompat() {

@Suppress("LongLine")
companion object {
const val GET_CONTENT_PICKER_HELP_URL = "https://commons-app.github.io/docs.html#get-content"
private const val VANISH_ACCOUNT_URL = "https://meta.m.wikimedia.org/wiki/Special:Contact/accountvanishapps"
private const val VANISH_ACCOUNT_SUCCESS_URL = "https://meta.m.wikimedia.org/wiki/Special:GlobalVanishRequest/vanished"
/**
Expand Down

0 comments on commit 7d6a460

Please # to comment.