Skip to content

Commit 7d6a460

Browse files
Update Done
1 parent 0c8763b commit 7d6a460

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/src/main/java/fr/free/nrw/commons/settings/SettingsFragment.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ class SettingsFragment : PreferenceFragmentCompat() {
8585
private var languageHistoryListView: ListView? = null
8686

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

9089
private val cameraPickLauncherForResult: ActivityResultLauncher<Intent> =
9190
registerForActivityResult(StartActivityForResult()) { result ->
@@ -297,7 +296,7 @@ class SettingsFragment : PreferenceFragmentCompat() {
297296
getString(R.string.ok),
298297
getString(R.string.read_help_link),
299298
{ },
300-
{ Utils.handleWebUrl(requireContext(), Uri.parse(getContentPickerHelpUrl)) },
299+
{ Utils.handleWebUrl(requireContext(), Uri.parse(GET_CONTENT_PICKER_HELP_URL)) },
301300
null
302301
)
303302
}
@@ -511,6 +510,7 @@ class SettingsFragment : PreferenceFragmentCompat() {
511510

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

0 commit comments

Comments
 (0)