From 509b67283c8ed0945458a25f3e38c7e62c994771 Mon Sep 17 00:00:00 2001 From: kunfei Date: Sun, 1 Dec 2019 10:31:02 +0800 Subject: [PATCH] up --- app/src/main/java/io/legado/app/service/WebService.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/io/legado/app/service/WebService.kt b/app/src/main/java/io/legado/app/service/WebService.kt index d05b2042e..012623865 100644 --- a/app/src/main/java/io/legado/app/service/WebService.kt +++ b/app/src/main/java/io/legado/app/service/WebService.kt @@ -78,7 +78,7 @@ class WebService : BaseService() { updateNotification(getString(R.string.http_ip, address.hostAddress, port)) } catch (e: IOException) { launch { - toast(e.localizedMessage) + toast(e.localizedMessage ?: "") stopSelf() } }