mirror of
https://github.com/f-droid/fdroidclient.git
synced 2026-04-20 23:07:26 -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:
@@ -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