Skip to content

Commit

Permalink
Fix background-image issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Krishna-Baldwa committed Dec 8, 2023
1 parent 07e6ced commit bfd6434
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/src/routes/communitypage.dart
Original file line number Diff line number Diff line change
Expand Up @@ -244,8 +244,7 @@ class _CommunityPageState extends State<CommunityPage> {
.cover, //I assumed you want to occupy the entire space of the card
image: community.coverImg != null
? CachedNetworkImageProvider(community.coverImg!)
: CachedNetworkImageProvider(
"https://devcom-iitb.org/images/logos/DC_logo.png"),
: Image.asset('assets/buynsell/DevcomLogo.png').image,
colorFilter:
ColorFilter.mode(Colors.black.withOpacity(0.3), BlendMode.darken),
),
Expand Down

0 comments on commit bfd6434

Please sign in to comment.