Localize "No chapters found" error
This commit is contained in:
@@ -28,7 +28,7 @@ fun syncChaptersWithSource(
|
||||
source: Source
|
||||
): Pair<List<Chapter>, List<Chapter>> {
|
||||
if (rawSourceChapters.isEmpty()) {
|
||||
throw Exception("No chapters found")
|
||||
throw NoChaptersException()
|
||||
}
|
||||
|
||||
val downloadManager: DownloadManager = Injekt.get()
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
package eu.kanade.tachiyomi.util.chapter
|
||||
|
||||
class NoChaptersException : Exception()
|
||||
Reference in New Issue
Block a user