Skip to content

Commit

Permalink
Category when register user not translated
Browse files Browse the repository at this point in the history
  • Loading branch information
xxxcucus committed Sep 11, 2022
1 parent abb114b commit 62e9732
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,9 @@ class NoRobotFragment : Fragment() {

val questionDogText = getString(R.string.norobot_dog)
val questionCatText = getString(R.string.norobot_cat)
val question = when (m_Question) {
questionDogText -> questionDogText
questionCatText -> questionCatText
val question = when (m_Question.lowercase()) {
"dog" -> questionDogText
"cat" -> questionCatText
else -> m_Question
}
questionTextView.text = getString(R.string.norobot_question, question)
Expand Down

0 comments on commit 62e9732

Please sign in to comment.