mirror of
https://github.com/f-droid/fdroidclient.git
synced 2026-10-03 17:46:46 -04:00
[db] deprecate caching of localized app name and summary
This led to many hard to debug issues in the past. It is easier to always fetch fresh data and not cache it. Previously, we needed the cache as a search index. Now, search uses all localizations, so the cache isn't needed anymore.
This commit is contained in:
5 files changed
+27
-6
No files matched your search
@@ -481,7 +481,8 @@ internal class AppOverviewItemsTest : AppTest() {
|
||||
assertEquals(expected.lastUpdated, actual.lastUpdated)
|
||||
assertEquals(expected.name.getBestLocale(locales), actual.name)
|
||||
assertEquals(expected.summary.getBestLocale(locales), actual.summary)
|
||||
assertEquals(expected.summary.getBestLocale(locales), actual.summary)
|
||||
assertEquals(expected.name.getBestLocale(locales), actual.getName(locales))
|
||||
assertEquals(expected.summary.getBestLocale(locales), actual.getSummary(locales))
|
||||
assertEquals(expected.icon.getBestLocale(locales), actual.getIcon(locales))
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user