Skip to content

Commit

Permalink
Fix: Default icons on the local audio list page are not displayed com…
Browse files Browse the repository at this point in the history
…pletely.

Change the size value of the default icon from the original fixed value of 70 to 70% of the height to resolve the issue of incomplete display of the default icon.
  • Loading branch information
dongfengweixiao committed Aug 6, 2024
1 parent 8ae84b0 commit a36e78d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/common/view/safe_network_image.dart
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class SafeNetworkImage extends StatelessWidget {
child: fallBackIcon ??
Icon(
Iconz().musicNote,
size: 70,
size: height!.toDouble() * 0.7,
),
);

Expand All @@ -49,7 +49,7 @@ class SafeNetworkImage extends StatelessWidget {
child: errorIcon ??
Icon(
Iconz().imageMissing,
size: 70,
size: height!.toDouble() * 0.7,
color: context.t.hintColor,
),
);
Expand Down

0 comments on commit a36e78d

Please sign in to comment.