Fix: Exclude specific text from being posted in WikidataFeedback

This commit is contained in:
sonalyadav 2025-04-12 23:40:22 +05:30
parent 1e77b1457a
commit 4ec394847a

View file

@ -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