mirror of
https://github.com/feeddeck/feeddeck.git
synced 2026-03-09 15:12:10 -05:00
[PR #76] [MERGED] [core] Improve Icon Handling #80
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/feeddeck/feeddeck/pull/76
Author: @ricoberger
Created: 11/26/2023
Status: ✅ Merged
Merged: 11/26/2023
Merged by: @ricoberger
Base:
main← Head:core-improve-icon-handling📝 Commits (1)
bed49e4[core] Improve Icon Handling📊 Changes
3 files changed (+90 additions, -106 deletions)
View changed files
📝
app/lib/models/source.dart(+72 -3)📝
app/lib/widgets/source/add/add_source.dart(+4 -4)📝
app/lib/widgets/source/source_icon.dart(+14 -99)📄 Description
Instead of defining the icons for a source only within the
SourceIconwidget, the icons are now defined as extension for theFDSourceTypeenum. The background and foreground colors are also defined within the enum now. This allows us to access the icon of a source outside of theSourceIconwidget and we only have to touch thesource.dartfile when adding a new source type.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.