From 77b33ab2e2d1e95fe1d5a5d427ee2cf6acc0c29c Mon Sep 17 00:00:00 2001 From: ekibun Date: Wed, 17 Jul 2019 22:32:38 +0800 Subject: [PATCH] fix logout --- app/src/main/java/soko/ekibun/bangumi/api/ApiHelper.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/soko/ekibun/bangumi/api/ApiHelper.kt b/app/src/main/java/soko/ekibun/bangumi/api/ApiHelper.kt index 6f1858a..4f980a7 100644 --- a/app/src/main/java/soko/ekibun/bangumi/api/ApiHelper.kt +++ b/app/src/main/java/soko/ekibun/bangumi/api/ApiHelper.kt @@ -16,6 +16,7 @@ object ApiHelper { return object:Callback{ override fun onFailure(call: Call, t: Throwable) { Log.e("errUrl", call.request().url().toString()) + if(!t.toString().contains("Canceled")) finish(t) t.printStackTrace() }