Skip to content

Commit

Permalink
fix: menu story article icons (#523)
Browse files Browse the repository at this point in the history
## Description
This PR introduces new icons for the filters menu and the bottom menu

## Type of Change
- [x] Bug fix
- [ ] New feature
- [ ] Breaking change
- [ ] Refactoring
- [ ] Documentation
- [ ] Chore

## Screenshots (if applicable)
<img width="180" alt="Screenshot 2025-01-08 at 20 12 34"
src="https://github.com/user-attachments/assets/353b0419-f989-4a6f-9852-e584e61ef957"
/>
<img width="180" alt="Screenshot 2025-01-08 at 20 13 04"
src="https://github.com/user-attachments/assets/d558d7c7-8ec2-45d0-a51f-dece0afb858d"
/>
  • Loading branch information
ice-hector authored Jan 8, 2025
1 parent f8a6400 commit a4aabf2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
3 changes: 0 additions & 3 deletions assets/svg/icon_feed_story.svg

This file was deleted.

2 changes: 1 addition & 1 deletion lib/app/features/feed/data/models/feed_category.dart
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ enum FeedCategory {
final icon = switch (this) {
FeedCategory.feed => Assets.svg.iconProfileFeed,
FeedCategory.videos => Assets.svg.iconVideosTrading,
FeedCategory.articles => Assets.svg.iconFeedStories,
FeedCategory.articles => Assets.svg.iconFeedArticles,
};

return icon.icon(color: color ?? defaultColor);
Expand Down
4 changes: 2 additions & 2 deletions lib/app/features/wallet/model/feed_type.dart
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ enum FeedType implements MainModalListItem {
String get iconAsset {
return switch (this) {
FeedType.post => Assets.svg.iconFeedPost,
FeedType.story => Assets.svg.iconFeedStory,
FeedType.story => Assets.svg.iconFeedStories,
FeedType.video => Assets.svg.iconVideosTrading,
FeedType.article => Assets.svg.iconFeedStories,
FeedType.article => Assets.svg.iconFeedArticles,
};
}
}

0 comments on commit a4aabf2

Please sign in to comment.