Skip to content

Commit

Permalink
[add] no_image.png 추가, 카페 이미지 없으면 이걸로 띄우기 #380
Browse files Browse the repository at this point in the history
  • Loading branch information
godeka committed May 29, 2024
1 parent b210bc2 commit 7017eb0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Binary file added frontend/assets/no_image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion frontend/lib/screen/cafe_details.dart
Original file line number Diff line number Diff line change
Expand Up @@ -190,8 +190,9 @@ class _CafeDetailsState extends State<CafeDetails>
fit: BoxFit.cover,
)
: Image.asset(
"assets/cafe.jpeg",
"assets/no_image.png",
width: 450,
height: 250,
fit: BoxFit.fitWidth,
),
),
Expand Down

0 comments on commit 7017eb0

Please sign in to comment.