pull/51/head
kunfei 5 years ago
parent 4a208b4729
commit 509b67283c
  1. 2
      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)) updateNotification(getString(R.string.http_ip, address.hostAddress, port))
} catch (e: IOException) { } catch (e: IOException) {
launch { launch {
toast(e.localizedMessage) toast(e.localizedMessage ?: "")
stopSelf() stopSelf()
} }
} }

Loading…
Cancel
Save