This commit is contained in:
Jobobby04 2021-07-24 12:49:09 -04:00
parent 75f5d46f6a
commit 877adee4f7

View File

@ -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
}