show the SIM ID at the sim picker too

This commit is contained in:
tibbi
2022-02-07 11:18:21 +01:00
parent f949086195
commit 53536b5c93

View File

@ -28,7 +28,7 @@ class SelectSIMDialog(val activity: BaseSimpleActivity, val phoneNumber: String,
activity.getAvailableSIMCardLabels().forEachIndexed { index, SIMAccount ->
val radioButton = (activity.layoutInflater.inflate(R.layout.radio_button, null) as RadioButton).apply {
text = SIMAccount.label
text = "${index + 1} - ${SIMAccount.label}"
id = index
setOnClickListener { selectedSIM(SIMAccount.handle, SIMAccount.label) }
}