updating the style of Select SIM dialog

This commit is contained in:
tibbi
2021-11-18 21:31:43 +01:00
parent 8530bad54f
commit 63fb2045c5
2 changed files with 20 additions and 6 deletions

View File

@ -20,6 +20,11 @@ class SelectSIMDialog(val activity: BaseSimpleActivity, val phoneNumber: String,
init {
val radioGroup = view.select_sim_radio_group
view.apply {
select_sim_remember_holder.setOnClickListener {
select_sim_remember.toggle()
}
}
activity.getAvailableSIMCardLabels().forEachIndexed { index, SIMAccount ->
val radioButton = (activity.layoutInflater.inflate(R.layout.radio_button, null) as RadioButton).apply {