Skip to content

Commit

Permalink
Fix manifest caching (#916)
Browse files Browse the repository at this point in the history
**Background**

Right now manifest caching works only as read only storage

**Changes**

- Invalidate cache

**Test plan**

Try load manifests twice
  • Loading branch information
LionZXY authored Aug 6, 2024
1 parent 6a33640 commit 61b53d3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ Attention: don't forget to add the flag for F-Droid before release
- [FIX] Ignore faps manifest with point in start
- [FIX] Try use kotlin 2.0.20-Beta2 for bypass compose compiler exception
- [FIX] Relocate remote-controls button to infrared remotes screen
- [FIX] Fix merge-queue files diff
- [FIX] Fap manifest caching
- [CI] Fix merge-queue files diff
- [CI] Add https://github.com/LionZXY/detekt-decompose-rule
- [CI] Enabling detekt module for android and kmp modules
- [CI] Bump target SDK to 34
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,8 @@ class FapManifestsLoader @AssistedInject constructor(
}
info { "Parsed ${fapItemsList.size} manifests from flipper" }

cacheLoader.invalidate(fapItemsList)

manifestLoaderState.emit(
FapManifestLoaderState.Loaded(
items = fapItemsList.toPersistentList(),
Expand Down

0 comments on commit 61b53d3

Please sign in to comment.