fix: always show bottom bar, resolve chat input double padding, and format codebase

This commit is contained in:
Hy4ri committed 2026-06-19 18:14:41 +03:00
1 parent 91ad09b5f2
commit 9e3a7ab339
24 files changed
+143 -45

No files matched your search

@@ -71,18 +71,25 @@ fun SystemScreen(
onRefresh = { viewModel.loadSystemData() },
) {
when {
state.isLoading && state.stats == null && state.doctorReport == null -> LoadingState()
state.errorMessage != null ->
state.isLoading && state.stats == null && state.doctorReport == null -> {
LoadingState()
}
state.errorMessage != null -> {
ErrorState(
message = state.errorMessage ?: "Unknown error",
onRetry = { viewModel.loadSystemData() },
)
state.stats == null && state.doctorReport == null ->
}
state.stats == null && state.doctorReport == null -> {
EmptyState(
title = "No system data",
subtitle = "Tap refresh to load system diagnostics.",
)
else ->
}
else -> {
LazyColumn(
modifier = Modifier.fillMaxWidth(),
contentPadding =
@@ -200,6 +207,7 @@ fun SystemScreen(
}
}
}
}
}
}
}