Don't try to show accounts if there is none
This commit is contained in:
@@ -153,7 +153,7 @@ class AccountsActivity : ComponentActivity() {
|
|||||||
|
|
||||||
@Composable
|
@Composable
|
||||||
fun AccountsContent(ctx: Context, contentPadding: PaddingValues) {
|
fun AccountsContent(ctx: Context, contentPadding: PaddingValues) {
|
||||||
if (showAccounts.value) {
|
if (showAccounts.value && BaresipService.uas.value.isNotEmpty()) {
|
||||||
val scrollState = rememberScrollState()
|
val scrollState = rememberScrollState()
|
||||||
Column(
|
Column(
|
||||||
modifier = Modifier
|
modifier = Modifier
|
||||||
|
|||||||
Reference in New Issue
Block a user