фикс расположения времени

This commit is contained in:
torvalds
2026-07-04 14:20:30 +07:00
parent 61f540aee6
commit fafe42a48b
+5 -3
View File
@@ -4534,11 +4534,13 @@ class _ChatScreenState extends State<ChatScreen>
} }
double _floatingDateTop(BuildContext context) { double _floatingDateTop(BuildContext context) {
if (AppChatChrome.current.value == ChatChromeStyle.color) return 8;
final glossy = AppVisualStyle.current.value == VisualStyle.glossy; final glossy = AppVisualStyle.current.value == VisualStyle.glossy;
if (AppChatChrome.current.value == ChatChromeStyle.color) {
return glossy ? 2 : 4;
}
return MediaQuery.paddingOf(context).top + return MediaQuery.paddingOf(context).top +
(glossy ? _glossyHeaderHeight : kToolbarHeight) + (glossy ? _glossyHeaderHeight - 16 : kToolbarHeight) +
8; 4;
} }
Widget _buildLoadMoreIndicator() { Widget _buildLoadMoreIndicator() {