File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
frontend/appflowy_flutter/lib/workspace/presentation/command_palette/widgets Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,11 @@ class RecentViewsList extends StatelessWidget {
5757 emojiSize: 16.0 ,
5858 lineHeight: 20 / 16 ,
5959 )
60- : FlowySvg (view.iconData, size: const Size .square (20 ));
60+ : FlowySvg (
61+ view.iconData,
62+ size: const Size .square (20 ),
63+ color: theme.iconColorScheme.secondary,
64+ );
6165
6266 return SearchRecentViewCell (
6367 icon: SizedBox .square (
Original file line number Diff line number Diff line change @@ -153,11 +153,11 @@ class _SearchResultCellState extends State<SearchResultCell> {
153153
154154 Widget buildIcon (AppFlowyThemeData theme) {
155155 final icon = item.icon;
156+ final color = theme.iconColorScheme.secondary;
156157 if (icon.ty == ResultIconTypePB .Emoji ) {
157- return icon.getIcon (size: 20 ) ?? SizedBox .shrink ();
158+ return icon.getIcon (size: 20 , iconColor : color ) ?? SizedBox .shrink ();
158159 } else {
159- return icon.getIcon (size: 20 , iconColor: theme.iconColorScheme.primary) ??
160- SizedBox .shrink ();
160+ return icon.getIcon (size: 20 , iconColor: color) ?? SizedBox .shrink ();
161161 }
162162 }
163163
You can’t perform that action at this time.
0 commit comments