From 02decd48c67bd24abee60b8cfb53ab3b56d95ebd Mon Sep 17 00:00:00 2001 From: cogwheel0 <172976095+cogwheel0@users.noreply.github.com> Date: Wed, 12 Nov 2025 13:26:29 +0530 Subject: [PATCH] feat(navigation): Conditionally apply top and bottom borders for selected chat drawer item --- lib/features/navigation/widgets/chats_drawer.dart | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/lib/features/navigation/widgets/chats_drawer.dart b/lib/features/navigation/widgets/chats_drawer.dart index b3c9e01..60e9fea 100644 --- a/lib/features/navigation/widgets/chats_drawer.dart +++ b/lib/features/navigation/widgets/chats_drawer.dart @@ -1809,7 +1809,18 @@ class _ConversationTile extends StatelessWidget { decoration: BoxDecoration( color: background, borderRadius: borderRadius, - border: Border.all(color: borderColor, width: BorderWidth.thin), + border: selected + ? Border( + top: BorderSide( + color: borderColor, + width: BorderWidth.thin, + ), + bottom: BorderSide( + color: borderColor, + width: BorderWidth.thin, + ), + ) + : null, boxShadow: shadow, ), child: ConstrainedBox(