fix: always show bottom bar, resolve chat input double padding, and format codebase
This commit is contained in:
1 parent
91ad09b5f2
commit
9e3a7ab339
24 files changed
+143
-45
No files matched your search
@@ -78,19 +78,26 @@ fun SkillsScreen(
|
||||
onRefresh = { viewModel.loadSkills() },
|
||||
) {
|
||||
when {
|
||||
state.isLoading && state.skills.isEmpty() -> LoadingState()
|
||||
state.errorMessage != null ->
|
||||
state.isLoading && state.skills.isEmpty() -> {
|
||||
LoadingState()
|
||||
}
|
||||
|
||||
state.errorMessage != null -> {
|
||||
ErrorState(
|
||||
message = state.errorMessage ?: "Unknown error",
|
||||
onRetry = { viewModel.loadSkills() },
|
||||
)
|
||||
state.skills.isEmpty() ->
|
||||
}
|
||||
|
||||
state.skills.isEmpty() -> {
|
||||
EmptyState(
|
||||
title = "No skills found",
|
||||
subtitle = "Skills loaded from Hermes will appear here.",
|
||||
icon = Icons.Filled.Extension,
|
||||
)
|
||||
else ->
|
||||
}
|
||||
|
||||
else -> {
|
||||
LazyColumn(
|
||||
modifier = Modifier.fillMaxWidth(),
|
||||
contentPadding = listContentPadding,
|
||||
@@ -162,6 +169,7 @@ fun SkillsScreen(
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user