mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-17 20:17:02 +05:30
Supress false-positive Lint issue
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
parent
d5e51366e9
commit
c048ecf9cf
1 changed files with 2 additions and 0 deletions
|
@ -30,6 +30,8 @@ class LobstersRepository constructor(
|
||||||
return@withContext lobstersApi.getHottestPosts(page)
|
return@withContext lobstersApi.getHottestPosts(page)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// https://issuetracker.google.com/issues/181221325
|
||||||
|
@Suppress("NewApi")
|
||||||
suspend fun updateCache() {
|
suspend fun updateCache() {
|
||||||
if (_isCacheReady.value) return
|
if (_isCacheReady.value) return
|
||||||
val posts = getSavedPosts()
|
val posts = getSavedPosts()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue