Cleanup
This commit is contained in:
parent
75f5d46f6a
commit
877adee4f7
@ -209,8 +209,7 @@ class MangaDex(delegate: HttpSource, val context: Context) :
|
||||
}
|
||||
|
||||
override suspend fun logout(): Boolean {
|
||||
val e = runCatching { loginHelper.logout() }.exceptionOrNull()
|
||||
if (e is CancellationException) throw e
|
||||
loginHelper.logout()
|
||||
mdList.logout()
|
||||
return true
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user