Skip to content

Commit

Permalink
fix: Using icon logo. #305
Browse files Browse the repository at this point in the history
  • Loading branch information
LuchoTurtle committed Feb 22, 2023
1 parent 8a33a01 commit 44acd24
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
Binary file removed assets/images/dwyl_logo.png
Binary file not shown.
2 changes: 1 addition & 1 deletion lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class _HomePageState extends State<HomePage> {
title: Row(
mainAxisAlignment: MainAxisAlignment.center,
children: [
Image.asset("assets/images/dwyl_logo.png", fit: BoxFit.fitHeight, height: 30),
Image.asset("assets/icon/icon.png", fit: BoxFit.fitHeight, height: 30),
],
),
leading: Container(),
Expand Down
2 changes: 1 addition & 1 deletion lib/menu.dart
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class DrawerMenu extends StatelessWidget {
backgroundColor: Colors.black,
leading: Padding(
padding: const EdgeInsets.all(8.0),
child: Image.asset("assets/images/dwyl_logo.png", fit: BoxFit.fitHeight, height: 30),
child: Image.asset("assets/icon/icon.png", fit: BoxFit.fitHeight, height: 30),
),
actions: [
IconButton(
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ flutter:
# - images/a_dot_burr.jpeg
# - images/a_dot_ham.jpeg
assets:
- assets/images/
- assets/icon/

# An image asset can refer to one or more resolution-specific "variants", see
# https://flutter.dev/assets-and-images/#resolution-aware
Expand Down

0 comments on commit 44acd24

Please sign in to comment.