Don't try to show accounts if there is none

This commit is contained in:
Juha Heinanen
2025-04-10 08:22:19 +03:00
parent 54d8a19b39
commit 72ed44ef89

View File

@ -153,7 +153,7 @@ class AccountsActivity : ComponentActivity() {
@Composable
fun AccountsContent(ctx: Context, contentPadding: PaddingValues) {
if (showAccounts.value) {
if (showAccounts.value && BaresipService.uas.value.isNotEmpty()) {
val scrollState = rememberScrollState()
Column(
modifier = Modifier