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
@@ -75,6 +75,7 @@ fun ModelScreen(
|
||||
state.isLoading && state.providers.isEmpty() -> {
|
||||
LoadingState(modifier = Modifier.padding(paddingValues))
|
||||
}
|
||||
|
||||
state.errorMessage != null -> {
|
||||
ErrorState(
|
||||
message = state.errorMessage ?: "",
|
||||
@@ -82,7 +83,8 @@ fun ModelScreen(
|
||||
modifier = Modifier.padding(paddingValues),
|
||||
)
|
||||
}
|
||||
else ->
|
||||
|
||||
else -> {
|
||||
Box(Modifier.fillMaxSize()) {
|
||||
if (state.isLoading && state.providers.isEmpty()) {
|
||||
CircularProgressIndicator()
|
||||
@@ -201,7 +203,8 @@ fun ModelScreen(
|
||||
containerColor =
|
||||
if (isActive) {
|
||||
MaterialTheme.colorScheme
|
||||
.primaryContainer.copy(
|
||||
.primaryContainer
|
||||
.copy(
|
||||
alpha = 0.3f,
|
||||
)
|
||||
} else {
|
||||
@@ -264,6 +267,7 @@ fun ModelScreen(
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user