splitting a line

This commit is contained in:
Tibor Kaputa 2022-11-11 23:26:15 +01:00 committed by GitHub
parent e733f16753
commit 6d9a249ba2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -402,7 +402,9 @@ class CallActivity : SimpleActivity() {
val callAudioRoute = CallManager.getCallAudioRoute() val callAudioRoute = CallManager.getCallAudioRoute()
val items = routes val items = routes
.sortedByDescending { it.route } .sortedByDescending { it.route }
.map { SimpleListItem(id = it.route, textRes = it.stringRes, imageRes = it.iconRes, selected = it == callAudioRoute) } .map {
SimpleListItem(id = it.route, textRes = it.stringRes, imageRes = it.iconRes, selected = it == callAudioRoute)
}
.toTypedArray() .toTypedArray()
if (audioRouteChooserDialog?.isVisible == true) { if (audioRouteChooserDialog?.isVisible == true) {