From a2b4555e46db157a67f3cee4fcff605328f6c9f4 Mon Sep 17 00:00:00 2001 From: Juha Heinanen Date: Tue, 13 Jan 2026 04:46:20 +0200 Subject: [PATCH] Minor edits --- app/src/main/kotlin/com/tutpro/baresip/MainScreen.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/kotlin/com/tutpro/baresip/MainScreen.kt b/app/src/main/kotlin/com/tutpro/baresip/MainScreen.kt index d910bd64..0f51e510 100644 --- a/app/src/main/kotlin/com/tutpro/baresip/MainScreen.kt +++ b/app/src/main/kotlin/com/tutpro/baresip/MainScreen.kt @@ -745,7 +745,6 @@ private fun BottomBar(ctx: Context, viewModel: ViewModel, navController: NavCont // Disable the button if no account is selected enabled = aor.isNotEmpty(), onClick = { - // No need for an 'if' check here anymore val ua = UserAgent.ofAor(aor)!! val acc = ua.account if (acc.vmUri.isNotEmpty()) { @@ -2030,7 +2029,8 @@ private fun runCall(ctx: Context, viewModel: ViewModel, ua: UserAgent, uri: Stri private fun call( ctx: Context, - viewModel: ViewModel, ua: UserAgent, + viewModel: ViewModel, + ua: UserAgent, uri: String, onHoldCall: Call? = null ): Call? {