mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
Fix: Exclude specific text from being posted in WikidataFeedback
This commit is contained in:
parent
1e77b1457a
commit
4ec394847a
1 changed files with 5 additions and 1 deletions
|
|
@ -72,7 +72,11 @@ class WikidataFeedback : BaseActivity() {
|
|||
getString(R.string.please_enter_some_comments),
|
||||
Toast.LENGTH_SHORT,
|
||||
).show()
|
||||
} else {
|
||||
} else {
|
||||
if (binding.radioGroup.checkedRadioButtonId == R.id.radioButton2) {
|
||||
val excludedText = getString(R.string.is_at_a_different_place_please_specify_the_correct_place_below_if_possible_tell_us_the_correct_latitude_longitude, place)
|
||||
desc = desc.toString().replace(excludedText, "").trim()
|
||||
}
|
||||
binding.radioGroup.clearCheck()
|
||||
binding.detailsEditText.setText("")
|
||||
Single
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue