mirror of
https://github.com/feeddeck/feeddeck.git
synced 2026-03-09 07:02:01 -05:00
[PR #47] [MERGED] [core] Clear Cached Items #52
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/47
Author: @ricoberger
Created: 10/22/2023
Status: ✅ Merged
Merged: 10/22/2023
Merged by: @ricoberger
Base:
main← Head:core-clear-cached-items📝 Commits (1)
00673b3[core] Clear Cached Items📊 Changes
3 files changed (+21 additions, -3 deletions)
View changed files
📝
app/lib/repositories/items_repository.dart(+10 -3)📝
app/lib/widgets/settings/decks/settings_decks_select.dart(+6 -0)📝
app/lib/widgets/settings/profile/settings_profile_signout.dart(+5 -0)📄 Description
The cached items in the "ItemsRepositoryStore" are now cleared when a user selects an active deck in the settings and when a user signes out of the app.
This is done to force a reload of the items in a column, when a user switches between decks. For me this works better because, when I switch between decks I manually trigger a reload for all columns, which is now not necessary anymore.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.