feat: Remove debug log button and status text from ChatsListScreen for cleaner UI
This commit is contained in:
@@ -1188,35 +1188,6 @@ fun ChatsListScreen(
|
|||||||
else
|
else
|
||||||
Color(0xFF999999)
|
Color(0xFF999999)
|
||||||
)
|
)
|
||||||
Spacer(modifier = Modifier.width(4.dp))
|
|
||||||
Text(
|
|
||||||
text = "(статус: ${sduUpdateState::class.simpleName})",
|
|
||||||
fontSize = 10.sp,
|
|
||||||
color =
|
|
||||||
if (isDarkTheme)
|
|
||||||
Color(0xFF555555)
|
|
||||||
else
|
|
||||||
Color(0xFFAAAAAA)
|
|
||||||
)
|
|
||||||
Spacer(modifier = Modifier.weight(1f))
|
|
||||||
// Debug log button
|
|
||||||
Box(
|
|
||||||
modifier = Modifier
|
|
||||||
.size(28.dp)
|
|
||||||
.clip(CircleShape)
|
|
||||||
.background(
|
|
||||||
if (isDarkTheme) Color(0xFF2A2A2A) else Color(0xFFEEEEEE)
|
|
||||||
)
|
|
||||||
.clickable { showSduLogs = true },
|
|
||||||
contentAlignment = Alignment.Center
|
|
||||||
) {
|
|
||||||
Icon(
|
|
||||||
imageVector = TablerIcons.Bug,
|
|
||||||
contentDescription = "SDU Logs",
|
|
||||||
modifier = Modifier.size(16.dp),
|
|
||||||
tint = if (isDarkTheme) Color(0xFF888888) else Color(0xFF999999)
|
|
||||||
)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
Spacer(modifier = Modifier.height(16.dp))
|
Spacer(modifier = Modifier.height(16.dp))
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user