Fix mapping refresh key

This commit is contained in:
Mikołaj Pich 2024-05-22 21:05:17 +02:00
parent 4a585fc56e
commit c76ace40eb
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ class WulkanowyRepository @Inject constructor(
private val saveFetchResultMutex = Mutex()
private val cacheKey = "mapping"
private val cacheKey = "mapping_refresh_key"
fun getAdminMessages(): Flow<Resource<List<AdminMessage>>> =
networkBoundResource(

View File

@ -31,7 +31,7 @@ fun getRefreshKey(name: String, mailbox: Mailbox?, folder: MessageFolder): Strin
}
fun getRefreshKey(name: String): String {
return "${name}_refresh_key"
return name
}
class AutoRefreshHelper @Inject constructor(