Skip to content

Commit

Permalink
Update SyncActivity.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
Okuro3499 committed Jul 1, 2024
1 parent 520baff commit b5bbbf2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -627,7 +627,7 @@ abstract class SyncActivity : ProcessUserDataActivity(), SyncListener, CheckVers
serverAddresses.onItemSelectedListener = object : AdapterView.OnItemSelectedListener {
override fun onItemSelected(parent: AdapterView<*>, view: View?, position: Int, id: Long) {
val displayUrl = serverList[position]
val actualUrl = displayUrl.replace(Regex("[\\p{So}\\s]"), "") // Remove emojis and spaces
val actualUrl = displayUrl.replace(Regex("[\\p{So}\\s]"), "")
serverUrl.setText(actualUrl)
serverPassword.setText(getPinForUrl(actualUrl))
}
Expand Down

0 comments on commit b5bbbf2

Please sign in to comment.