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 {
|
override suspend fun logout(): Boolean {
|
||||||
val e = runCatching { loginHelper.logout() }.exceptionOrNull()
|
loginHelper.logout()
|
||||||
if (e is CancellationException) throw e
|
|
||||||
mdList.logout()
|
mdList.logout()
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user