Skip to content

Commit 0a15943

Browse files
committed
Fix build issue
1 parent e328733 commit 0a15943

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • library/src/main/java/eu/kanade/tachiyomi/source/online

library/src/main/java/eu/kanade/tachiyomi/source/online/HttpSource.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,15 +245,15 @@ abstract class HttpSource : CatalogueSource {
245245
*
246246
* @param url the full url to the chapter.
247247
*/
248-
fun SChapter.setUrlWithoutDomain(url: String) = throw Exception("Stub!")
248+
fun SChapter.setUrlWithoutDomain(url: String): Unit = throw Exception("Stub!")
249249

250250
/**
251251
* Assigns the url of the manga without the scheme and domain. It saves some redundancy from
252252
* database and the urls could still work after a domain change.
253253
*
254254
* @param url the full url to the manga.
255255
*/
256-
fun SManga.setUrlWithoutDomain(url: String) = throw Exception("Stub!")
256+
fun SManga.setUrlWithoutDomain(url: String): Unit = throw Exception("Stub!")
257257

258258
/**
259259
* Returns the url of the given string without the scheme and domain.

0 commit comments

Comments
 (0)