diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaDetailsPresenter.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaDetailsPresenter.kt index fa6f3adae4..e83dd1adcd 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaDetailsPresenter.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaDetailsPresenter.kt @@ -826,6 +826,16 @@ class MangaDetailsPresenter( } if (!results.isNullOrEmpty()) { withContext(Dispatchers.Main) { controller.onTrackSearchResults(results) } + } else { + withContext(Dispatchers.Main) { + controller.trackSearchError( + Exception( + preferences.context.getString( + R.string.no_results_found + ) + ) + ) + } } } }