Logout even if the logout response doesnt return ok
This commit is contained in:
@@ -211,6 +211,7 @@ class MangaDex(delegate: HttpSource, val context: Context) :
|
||||
override suspend fun logout(): Boolean {
|
||||
val result = try {
|
||||
loginHelper.logout()
|
||||
true
|
||||
} catch (e: NoSessionException) {
|
||||
true
|
||||
} catch (e: Exception) {
|
||||
|
||||
Reference in New Issue
Block a user