refactor: adjust border radius in chat drawer components

- Changed the border radius in _ConversationDragFeedback and _ConversationTile from a circular value to zero for a more squared appearance.
- This update enhances the visual consistency of the chat drawer components across the application.
This commit is contained in:
cogwheel0
2025-10-03 00:27:22 +05:30
parent 01bd3a6d3c
commit 349806f313

View File

@@ -1459,7 +1459,7 @@ class _ConversationDragFeedback extends StatelessWidget {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
final borderRadius = BorderRadius.circular(AppBorderRadius.navigation); final borderRadius = BorderRadius.zero;
final borderColor = theme.surfaceContainerHighest.withValues(alpha: 0.40); final borderColor = theme.surfaceContainerHighest.withValues(alpha: 0.40);
return Material( return Material(
@@ -1622,7 +1622,7 @@ class _ConversationTile extends StatelessWidget {
Widget build(BuildContext context) { Widget build(BuildContext context) {
final theme = context.conduitTheme; final theme = context.conduitTheme;
final brightness = Theme.of(context).brightness; final brightness = Theme.of(context).brightness;
final borderRadius = BorderRadius.circular(AppBorderRadius.navigation); final borderRadius = BorderRadius.zero;
final Color background = selected final Color background = selected
? theme.buttonPrimary.withValues( ? theme.buttonPrimary.withValues(
alpha: brightness == Brightness.dark ? 0.28 : 0.16, alpha: brightness == Brightness.dark ? 0.28 : 0.16,