fix: avoid duplicate gateway reconnecting pill

This commit is contained in:
Peter Steinberger
2025-12-30 14:37:59 +01:00
parent 6306786645
commit cf903be4a7
3 changed files with 3 additions and 13 deletions

View File

@@ -118,13 +118,7 @@ fun RootScreen(viewModel: MainViewModel) {
contentDescription = "Approval pending",
)
}
if (lowerStatus.contains("reconnecting") || lowerStatus.contains("connecting")) {
return@remember StatusActivity(
title = "Gateway reconnecting…",
icon = Icons.Default.Refresh,
contentDescription = "Gateway reconnecting",
)
}
// Avoid duplicating the primary bridge status ("Connecting…") in the activity slot.
if (screenRecordActive) {
return@remember StatusActivity(