feat: token lifetime stored
This commit is contained in:
parent
d5c87c46aa
commit
8a922bd083
4 changed files with 69 additions and 22 deletions
|
@ -111,6 +111,10 @@ class App : MultiDexApplication() {
|
|||
logger("Novel Extensions: ${novelExtensionManager.installedExtensionsFlow.first()}")
|
||||
NovelSources.init(novelExtensionManager.installedExtensionsFlow)
|
||||
}
|
||||
val commentsScope = CoroutineScope(Dispatchers.Default)
|
||||
commentsScope.launch {
|
||||
CommentsAPI.fetchAuthToken()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue