聊天自定义背景实现

This commit is contained in:
2025-10-31 16:41:39 +08:00
parent d7f87c7c55
commit 4a684886fa
7 changed files with 92 additions and 26 deletions

View File

@@ -276,7 +276,7 @@ fun IndexScreen() {
bottomBar = {
NavigationBar(
modifier = Modifier.height(58.dp + navigationBarHeight),
containerColor = AppColors.secondaryBackground
containerColor = AppColors.tabUnselectedBackground
) {
item.forEachIndexed { idx, it ->
val isSelected = model.tabIndex == idx

View File

@@ -891,7 +891,7 @@ fun ChatRoomCard(
Box(
modifier = modifier
.size(cardSize)
.background(AppColors.secondaryBackground, RoundedCornerShape(12.dp))
.background(AppColors.tabUnselectedBackground, RoundedCornerShape(12.dp))
.clickable(enabled = !viewModel.isJoiningRoom) {
if (!viewModel.isJoiningRoom && DebounceUtils.simpleDebounceClick(lastClickTime, 500L) {
// 加入群聊房间