Skip to content

Commit

Permalink
Social Icons Source Path Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
PLGuerraDesigns committed Aug 9, 2024
1 parent 2d8f039 commit a451c8e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 2.5.2

- FIX: Fixed social media icons not displaying due to case sensitivity in the file path.

## 2.5.1

- NEW: Added YouTube channel to list of social media buttons.
Expand Down
2 changes: 1 addition & 1 deletion lib/common/asset_paths.dart
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ class AssetPaths {
'assets/images/home/personal.webp';

static String socialMediaIcon(String socialMedia) =>
'assets/images/icons/$socialMedia.webp';
'assets/images/icons/${socialMedia.toLowerCase()}.webp';
}
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: plg_portfolio
description: Pablo L. Guerra's web-app portfolio powered by Flutter.
publish_to: "none"
version: 2.5.1+55
version: 2.5.2+56

environment:
sdk: ">=3.1.1 <4.0.0"
Expand Down

0 comments on commit a451c8e

Please sign in to comment.