mirror of
https://github.com/SimpleMobileTools/Simple-Dialer.git
synced 2025-06-05 21:49:23 +02:00
show the SIM ID at the sim picker too
This commit is contained in:
@ -28,7 +28,7 @@ class SelectSIMDialog(val activity: BaseSimpleActivity, val phoneNumber: String,
|
|||||||
|
|
||||||
activity.getAvailableSIMCardLabels().forEachIndexed { index, SIMAccount ->
|
activity.getAvailableSIMCardLabels().forEachIndexed { index, SIMAccount ->
|
||||||
val radioButton = (activity.layoutInflater.inflate(R.layout.radio_button, null) as RadioButton).apply {
|
val radioButton = (activity.layoutInflater.inflate(R.layout.radio_button, null) as RadioButton).apply {
|
||||||
text = SIMAccount.label
|
text = "${index + 1} - ${SIMAccount.label}"
|
||||||
id = index
|
id = index
|
||||||
setOnClickListener { selectedSIM(SIMAccount.handle, SIMAccount.label) }
|
setOnClickListener { selectedSIM(SIMAccount.handle, SIMAccount.label) }
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user