Skip to content

Commit

Permalink
[Modify] Fix logoUrl Not Available Error
Browse files Browse the repository at this point in the history
  • Loading branch information
kananinirav committed Mar 23, 2024
1 parent eb357a9 commit 50a5956
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib/screens/home.dart
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,14 @@ class _HomeState extends State<Home> {
width: 50,
height: 50,
fit: BoxFit.contain,
errorBuilder: (context, error, stackTrace) {
return Image.network(
'https://fastly.picsum.photos/id/125/536/354.jpg?hmac=EYT3s6VXrAoggrr4fXsOIIcQ3Grc13fCmXkqcE2FusY',
width: 50,
height: 50,
fit: BoxFit.contain,
);
},
),
title: Text(filteredChannels[index].name),
onTap: () {
Expand Down

0 comments on commit 50a5956

Please sign in to comment.