pull/2309/head
kunfei 2 years ago
parent 6ec2fddbc4
commit ec45ab1b5b
  1. 2
      app/src/main/java/io/legado/app/data/entities/BookSource.kt
  2. 1
      app/src/main/java/io/legado/app/service/WebService.kt

@ -95,10 +95,12 @@ data class BookSource(
@Ignore @Ignore
@IgnoredOnParcel @IgnoredOnParcel
@Transient
private var exploreKinds: List<ExploreKind>? = null private var exploreKinds: List<ExploreKind>? = null
@Ignore @Ignore
@IgnoredOnParcel @IgnoredOnParcel
@Transient
private val mutex = Mutex() private val mutex = Mutex()
suspend fun exploreKinds(): List<ExploreKind> { suspend fun exploreKinds(): List<ExploreKind> {

@ -111,6 +111,7 @@ class WebService : BaseService() {
stopSelf() stopSelf()
} }
} else { } else {
toastOnUi("web service cant start, no ip address")
stopSelf() stopSelf()
} }
} }

Loading…
Cancel
Save