diff --git a/lib/features/chat/views/chat_page.dart b/lib/features/chat/views/chat_page.dart index 68663a8..201e42f 100644 --- a/lib/features/chat/views/chat_page.dart +++ b/lib/features/chat/views/chat_page.dart @@ -1335,9 +1335,7 @@ class _ChatPageState extends ConsumerState { if (!_isSelectionMode) ...[ IconButton( icon: Icon( - Platform.isIOS - ? CupertinoIcons.bubble_left - : Icons.add_comment, + Platform.isIOS ? CupertinoIcons.create : Icons.add_comment, color: context.conduitTheme.textPrimary, size: IconSize.appBar, ), diff --git a/lib/features/navigation/widgets/chats_drawer.dart b/lib/features/navigation/widgets/chats_drawer.dart index 04e2f79..f8de88f 100644 --- a/lib/features/navigation/widgets/chats_drawer.dart +++ b/lib/features/navigation/widgets/chats_drawer.dart @@ -87,9 +87,7 @@ class _ChatsDrawerState extends ConsumerState { CupertinoSliverRefreshControl(onRefresh: _refreshChats), SliverPadding( padding: padding, - sliver: SliverList( - delegate: SliverChildListDelegate(children), - ), + sliver: SliverList(delegate: SliverChildListDelegate(children)), ), ], ); @@ -158,9 +156,7 @@ class _ChatsDrawerState extends ConsumerState { const SizedBox(width: Spacing.sm), IconButton( icon: Icon( - Platform.isIOS - ? CupertinoIcons.bubble_left - : Icons.add_comment, + Platform.isIOS ? CupertinoIcons.create : Icons.add_comment, color: theme.iconPrimary, size: IconSize.lg, ), @@ -281,7 +277,8 @@ class _ChatsDrawerState extends ConsumerState { // Treat those as regular until the folders list is available and contains the ID. final regular = list.where((c) { final hasFolder = (c.folderId != null && c.folderId!.isNotEmpty); - final folderKnown = hasFolder && availableFolderIds.contains(c.folderId); + final folderKnown = + hasFolder && availableFolderIds.contains(c.folderId); return c.pinned != true && c.archived != true && (!hasFolder || !folderKnown); @@ -327,9 +324,7 @@ class _ChatsDrawerState extends ConsumerState { // Show all folders (including empty) final sections = folders.map((folder) { - final expandedMap = ref.watch( - _expandedFoldersProvider, - ); + final expandedMap = ref.watch(_expandedFoldersProvider); final isExpanded = expandedMap[folder.id] ?? false; final convs = grouped[folder.id] ?? const []; return Column( @@ -421,7 +416,8 @@ class _ChatsDrawerState extends ConsumerState { final regular = list.where((c) { final hasFolder = (c.folderId != null && c.folderId!.isNotEmpty); - final folderKnown = hasFolder && availableFolderIds.contains(c.folderId); + final folderKnown = + hasFolder && availableFolderIds.contains(c.folderId); return c.pinned != true && c.archived != true && (!hasFolder || !folderKnown); @@ -480,9 +476,7 @@ class _ChatsDrawerState extends ConsumerState { ), if (isExpanded && convs.isNotEmpty) ...[ const SizedBox(height: Spacing.xs), - ...convs.map( - (c) => _buildTileFor(c, inFolder: true), - ), + ...convs.map((c) => _buildTileFor(c, inFolder: true)), const SizedBox(height: Spacing.sm), ], ], @@ -1502,8 +1496,9 @@ class _ConversationTile extends StatelessWidget { @override Widget build(BuildContext context) { final theme = context.conduitTheme; - final Color selectedBackground = - theme.buttonPrimary.withValues(alpha: 0.10); // subtle highlight + final Color selectedBackground = theme.buttonPrimary.withValues( + alpha: 0.10, + ); // subtle highlight final Color selectedBorder = theme.buttonPrimary.withValues(alpha: 0.60); return Semantics( @@ -1557,8 +1552,9 @@ class _ConversationTile extends StatelessWidget { overflow: TextOverflow.ellipsis, style: AppTypography.standard.copyWith( color: theme.textPrimary, - fontWeight: - selected ? FontWeight.w700 : FontWeight.w500, + fontWeight: selected + ? FontWeight.w700 + : FontWeight.w500, ), ), ),