Skip to content

Commit

Permalink
fix(neon_framework): Use correct sizes for unified search result icons
Browse files Browse the repository at this point in the history
Signed-off-by: provokateurin <kate@provokateurin.de>
  • Loading branch information
provokateurin committed Aug 30, 2024
1 parent 6756e6c commit ee4b9f5
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ class NeonUnifiedSearchResults extends StatelessWidget {
) {
if (entry.icon.startsWith('/')) {
return NeonUriImage(
size: Size.square(IconTheme.of(context).size!),
size: const Size.square(largeIconSize),
uri: Uri.parse(entry.icon),
account: account,
);
Expand All @@ -174,6 +174,7 @@ class NeonUnifiedSearchResults extends StatelessWidget {
return NeonServerIcon(
colorFilter: ColorFilter.mode(Theme.of(context).colorScheme.primary, BlendMode.srcIn),
icon: entry.icon,
size: largeIconSize,
);
}

Expand Down

0 comments on commit ee4b9f5

Please sign in to comment.