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

@@ -65,19 +65,26 @@ fun CronJobsScreen(
onRefresh = { viewModel.loadCronJobs() },
) {
when {
state.isLoading && state.jobs.isEmpty() -> LoadingState()
state.errorMessage != null ->
state.isLoading && state.jobs.isEmpty() -> {
LoadingState()
}
state.errorMessage != null -> {
ErrorState(
message = state.errorMessage ?: "Unknown error",
onRetry = { viewModel.loadCronJobs() },
)
state.jobs.isEmpty() ->
}
state.jobs.isEmpty() -> {
EmptyState(
title = "No cron jobs",
subtitle = "Scheduled tasks from Hermes will appear here.",
icon = Icons.Filled.Schedule,
)
else ->
}
else -> {
LazyColumn(
modifier = Modifier.fillMaxWidth(),
contentPadding = listContentPadding,
@@ -160,6 +167,7 @@ fun CronJobsScreen(
}
}
}
}
}
}
}