forked from github/wulkanowy-mirror
Fix mapping refresh key
This commit is contained in:
parent
4a585fc56e
commit
c76ace40eb
@ -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(
|
||||
|
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user