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

This commit is contained in:
Hy4ri
2026-06-19 18:14:41 +03:00
parent 91ad09b5f2
commit 9e3a7ab339
24 changed files with 143 additions and 45 deletions
@@ -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(
}
}
}
}
}
}
}