From 784dd2feb5e2bdf7bd0fbb2a91ab0208642beb16 Mon Sep 17 00:00:00 2001 From: Juha Heinanen Date: Thu, 17 May 2018 11:43:11 +0300 Subject: [PATCH] don't show "sip:" in account spinner text --- app/src/main/kotlin/com/tutpro/baresip/AccountSpinnerAdapter.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/kotlin/com/tutpro/baresip/AccountSpinnerAdapter.kt b/app/src/main/kotlin/com/tutpro/baresip/AccountSpinnerAdapter.kt index fd5d1671..e7503689 100644 --- a/app/src/main/kotlin/com/tutpro/baresip/AccountSpinnerAdapter.kt +++ b/app/src/main/kotlin/com/tutpro/baresip/AccountSpinnerAdapter.kt @@ -26,7 +26,7 @@ class AccountSpinnerAdapter(private val cxt: Context, private val accounts: Arra val inflater = cxt.getSystemService(Context.LAYOUT_INFLATER_SERVICE) as LayoutInflater val row = inflater.inflate(R.layout.account_spinner, parent, false) val textView = row.findViewById(R.id.spinnerText) as TextView - textView.text = accounts[position].aoR + textView.text = accounts[position].aoR.replace("sip:", "") textView.textSize = 17f val imageView = row.findViewById(R.id.spinnerImage) as ImageView imageView.setImageResource(images[position])