diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/catalogue/global_search/CatalogueSearchHolder.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/catalogue/global_search/CatalogueSearchHolder.kt index d189ada45..eefb37960 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/catalogue/global_search/CatalogueSearchHolder.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/catalogue/global_search/CatalogueSearchHolder.kt @@ -31,9 +31,6 @@ class CatalogueSearchHolder(view: View, val adapter: CatalogueSearchAdapter) : // Set layout horizontal. recycler.layoutManager = LinearLayoutManager(view.context, LinearLayoutManager.HORIZONTAL, false) recycler.adapter = mangaAdapter - - nothing_found_icon.setVectorCompat(R.drawable.ic_search_black_112dp, - view.context.getResourceColor(android.R.attr.textColorHint)) } /** @@ -54,15 +51,15 @@ class CatalogueSearchHolder(view: View, val adapter: CatalogueSearchAdapter) : when { results == null -> { progress.visible() - nothing_found.gone() + showHolder() } results.isEmpty() -> { progress.gone() - nothing_found.visible() + hideHolder() } else -> { progress.gone() - nothing_found.gone() + showHolder() } } if (results !== lastBoundResults) { @@ -96,4 +93,15 @@ class CatalogueSearchHolder(view: View, val adapter: CatalogueSearchAdapter) : return null } + + private fun showHolder() { + title.visible() + source_card.visible() + } + + private fun hideHolder() { + title.gone() + source_card.gone() + } + } diff --git a/app/src/main/res/drawable/ic_search_black_112dp.xml b/app/src/main/res/drawable/ic_search_black_112dp.xml deleted file mode 100644 index 05705a607..000000000 --- a/app/src/main/res/drawable/ic_search_black_112dp.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/app/src/main/res/layout/catalogue_global_search_controller_card.xml b/app/src/main/res/layout/catalogue_global_search_controller_card.xml index 6d220c41b..c5f81880d 100644 --- a/app/src/main/res/layout/catalogue_global_search_controller_card.xml +++ b/app/src/main/res/layout/catalogue_global_search_controller_card.xml @@ -36,41 +36,6 @@ android:layout_height="wrap_content" android:layout_gravity="center" /> - - - - - - - - لا يمكن تحديد الإعداد الافتراضي مع الفئات الأخرى تم إضافة المانجا إلى مكتبتك البحث الشامل… - لا توجد نتائج! اﻷخيرة تصفح diff --git a/app/src/main/res/values-bg/strings.xml b/app/src/main/res/values-bg/strings.xml index 17c298057..d605db986 100644 --- a/app/src/main/res/values-bg/strings.xml +++ b/app/src/main/res/values-bg/strings.xml @@ -397,7 +397,6 @@ Вход Други Глобално търсене… - Не бяха открити резултати! Последни Търсене Прекият път беше добавен към началния екран. diff --git a/app/src/main/res/values-bn/strings.xml b/app/src/main/res/values-bn/strings.xml index cbc91aef5..20fdf52d2 100644 --- a/app/src/main/res/values-bn/strings.xml +++ b/app/src/main/res/values-bn/strings.xml @@ -266,7 +266,6 @@ নির্ধারিতগুলো অন্যান্য ধরণের সাথে নির্বাচন করা যাবে না মাংগাটি আপনার মাংগাশালায় যোগ হয়েছে সার্বজনীন খোঁজ… - কোন ফলাফল পাওয়া যায়নি! সর্বশেষ ব্রাউজ diff --git a/app/src/main/res/values-cs/strings.xml b/app/src/main/res/values-cs/strings.xml index ae39ddeed..e34cf03e5 100644 --- a/app/src/main/res/values-cs/strings.xml +++ b/app/src/main/res/values-cs/strings.xml @@ -134,7 +134,6 @@ Žádné další výsledky Manga byla přidána do vaší knihovny Globální vyhledávání… - Žádné výsledky! Manga byla odstraněna z databáze! Info Popis diff --git a/app/src/main/res/values-de/strings.xml b/app/src/main/res/values-de/strings.xml index 09b203536..4ca8aac08 100644 --- a/app/src/main/res/values-de/strings.xml +++ b/app/src/main/res/values-de/strings.xml @@ -398,7 +398,6 @@ Andere Globale Suche… - Keine Treffer gefunden! Letzte Umsehen diff --git a/app/src/main/res/values-el/strings.xml b/app/src/main/res/values-el/strings.xml index 00d75d39d..67e80fbfb 100644 --- a/app/src/main/res/values-el/strings.xml +++ b/app/src/main/res/values-el/strings.xml @@ -301,7 +301,6 @@ Το manga έχει προστεθεί στη βιβλιοθήκη σας \n Καθολική αναζήτηση… - Δεν βρέθηκαν αποτελέσματα! Τελευταίο Ξεφύλλισμα diff --git a/app/src/main/res/values-es/strings.xml b/app/src/main/res/values-es/strings.xml index 6ef35a667..55b97f65e 100644 --- a/app/src/main/res/values-es/strings.xml +++ b/app/src/main/res/values-es/strings.xml @@ -395,7 +395,6 @@ También asegúrese de haber iniciado sesión en las fuentes que lo requieren an Local Otros Búsqueda global… - Ningún resultado encontrado! Recientes Explorar Acceso directo fue agregado a la pantalla de inicio. diff --git a/app/src/main/res/values-fr/strings.xml b/app/src/main/res/values-fr/strings.xml index 4ef1f1c34..e8eba2fa2 100644 --- a/app/src/main/res/values-fr/strings.xml +++ b/app/src/main/res/values-fr/strings.xml @@ -396,7 +396,6 @@ Assurez-vous que vous êtes connecté à des sources qui le demande avant de com Connexion Autre Recherche globale… - Aucun résultat ! Récents Explorer Un raccourci a été ajouté à la page d\'accueil. diff --git a/app/src/main/res/values-hi/strings.xml b/app/src/main/res/values-hi/strings.xml index 34da05d9e..509eb7991 100644 --- a/app/src/main/res/values-hi/strings.xml +++ b/app/src/main/res/values-hi/strings.xml @@ -250,7 +250,6 @@ डिफ़ॉल्ट को अन्य श्रेणियों के साथ नहीं चुना जा सकता है मंगा को आपकी लाइब्रेरी में जोड़ा गया है वैश्विक खोज … - कोई परिणाम नहीं मिला! नवीनतम ब्राउज यह मंगा डेटाबेस से हटा दिया गया था! diff --git a/app/src/main/res/values-in/strings.xml b/app/src/main/res/values-in/strings.xml index cdfa74d5c..59ae19053 100644 --- a/app/src/main/res/values-in/strings.xml +++ b/app/src/main/res/values-in/strings.xml @@ -400,7 +400,6 @@ Lokal Lainnya Pencarian global… - Tidak ada hasil! Terbaru Jelajahi diff --git a/app/src/main/res/values-it/strings.xml b/app/src/main/res/values-it/strings.xml index c802af8f1..bd63cae33 100644 --- a/app/src/main/res/values-it/strings.xml +++ b/app/src/main/res/values-it/strings.xml @@ -476,7 +476,6 @@ Altro Predefinito non può essere selezionato con altre categorie Ricerca globale… - Nessun risultato! Ultimi Sfoglia diff --git a/app/src/main/res/values-ko/strings.xml b/app/src/main/res/values-ko/strings.xml index e59864f8f..f7e4d10bf 100644 --- a/app/src/main/res/values-ko/strings.xml +++ b/app/src/main/res/values-ko/strings.xml @@ -237,7 +237,6 @@ 최소한 1개의 유효한 소스를 선택해주세요 더이상 결과 없음 전역 검색… - 결과가 없습니다! 최신 정보 설명 diff --git a/app/src/main/res/values-ms/strings.xml b/app/src/main/res/values-ms/strings.xml index 401c91d9a..793c54f60 100644 --- a/app/src/main/res/values-ms/strings.xml +++ b/app/src/main/res/values-ms/strings.xml @@ -268,7 +268,6 @@ Lalai tidak boleh dipilih bersama kategori lain Manga ini telah ditambahkan ke koleksi anda Carian keseluruhan… - Tiada sebarang hasil! Terkini Semak imbas diff --git a/app/src/main/res/values-nl/strings.xml b/app/src/main/res/values-nl/strings.xml index 7515ee495..ee21122e5 100644 --- a/app/src/main/res/values-nl/strings.xml +++ b/app/src/main/res/values-nl/strings.xml @@ -365,7 +365,6 @@ Zorg ook dat je ingelogd bent voor bronnen die dit vereisen alvorens je het teru Lokaal Alternatief Globaal zoeken… - Geen resultaten gevonden! Recent Snelkoppeling toegevoegd aan startscherm. Bibliotheek diff --git a/app/src/main/res/values-pl/strings.xml b/app/src/main/res/values-pl/strings.xml index 1b01f0e64..c58a0d7bd 100644 --- a/app/src/main/res/values-pl/strings.xml +++ b/app/src/main/res/values-pl/strings.xml @@ -398,7 +398,6 @@ Nie znaleziono źródła %1$s Inne Wyszukiwanie globalne… - Brak wyników! Przeglądaj Skrót został dodany do ekranu głównego. diff --git a/app/src/main/res/values-pt-rBR/strings.xml b/app/src/main/res/values-pt-rBR/strings.xml index d58e37555..051b0001c 100644 --- a/app/src/main/res/values-pt-rBR/strings.xml +++ b/app/src/main/res/values-pt-rBR/strings.xml @@ -362,7 +362,6 @@ Além disso, verifique se as fontes que requerem uma conta foram configuradas co Entrar Outras Pesquisa global… - Nenhum resultado encontrado! Mais recente Navegar O atalho foi adicionado à sua tela inicial. diff --git a/app/src/main/res/values-ro/strings.xml b/app/src/main/res/values-ro/strings.xml index 011f37610..57f030db4 100644 --- a/app/src/main/res/values-ro/strings.xml +++ b/app/src/main/res/values-ro/strings.xml @@ -299,7 +299,6 @@ Modul implicit nu poate fi selectat cu alte categorii Manga-ul a fost adăugat bibliotecii tale Căutare globală… - Nici un rezultat găsit! Cel mai recent Caută diff --git a/app/src/main/res/values-ru/strings.xml b/app/src/main/res/values-ru/strings.xml index 74a381fce..e4143ff50 100644 --- a/app/src/main/res/values-ru/strings.xml +++ b/app/src/main/res/values-ru/strings.xml @@ -360,7 +360,6 @@ Локальная Другие Глобальный поиск… - Результат не найден! Последняя Смотреть Ярлык был добавлен на главный экран. diff --git a/app/src/main/res/values-sc/strings.xml b/app/src/main/res/values-sc/strings.xml index 7b04850ec..f3a696e65 100644 --- a/app/src/main/res/values-sc/strings.xml +++ b/app/src/main/res/values-sc/strings.xml @@ -283,7 +283,6 @@ Predefinidu non podet èssere ischertadu cun àteras categorias Su manga est istadu annantu a sa biblioteca tua Chirca globale… - Perunu risultadu agatadu! Ùrtimos Esplora Custu manga est istadu bogadu dae sa base de datos! diff --git a/app/src/main/res/values-sr/strings.xml b/app/src/main/res/values-sr/strings.xml index f6e79afd8..fbd6e5270 100644 --- a/app/src/main/res/values-sr/strings.xml +++ b/app/src/main/res/values-sr/strings.xml @@ -283,7 +283,6 @@ Opšte je nemoguće označiti sa ostalim kategorijama Ova manga je dodata u biblioteku Globalno pretraživanje… - Nema pronađenih rezultata! Poslednje Pretraži Ova manga je uklonjena iz baze podataka! diff --git a/app/src/main/res/values-sv/strings.xml b/app/src/main/res/values-sv/strings.xml index b7debab87..4ba03fd02 100644 --- a/app/src/main/res/values-sv/strings.xml +++ b/app/src/main/res/values-sv/strings.xml @@ -300,7 +300,6 @@ Standard inte kan väljas med andra kategorier Mangan har lagts till i din bibliotek Global sökning… - Inga resultat hittades! Senaste Bläddra diff --git a/app/src/main/res/values-tr/strings.xml b/app/src/main/res/values-tr/strings.xml index cd808c059..87a7a2242 100644 --- a/app/src/main/res/values-tr/strings.xml +++ b/app/src/main/res/values-tr/strings.xml @@ -281,7 +281,6 @@ Öntanımlı diğer kategorilerle birlikte seçilemez Manga kitaplığınıza eklendi Genel arama… - Sonuç bulunmadı! En son Göz at Bu manga veritabanından kaldırıldı! diff --git a/app/src/main/res/values-uk/strings.xml b/app/src/main/res/values-uk/strings.xml index 2ac2d5fd9..aaa4a877f 100644 --- a/app/src/main/res/values-uk/strings.xml +++ b/app/src/main/res/values-uk/strings.xml @@ -282,7 +282,6 @@ Категорія за замовчуванням не може бути вибраною разом з іншими категоріями Цю мангу уже додано до бібліотеки Глобальний пошук… - Результатів не знайдено! Остання Переглянути Ця манга було видалена з бази даних! diff --git a/app/src/main/res/values-vi/strings.xml b/app/src/main/res/values-vi/strings.xml index f5619a7f1..e54508010 100644 --- a/app/src/main/res/values-vi/strings.xml +++ b/app/src/main/res/values-vi/strings.xml @@ -461,7 +461,6 @@ Mặc định không thể chọn với các danh mục khác Truyện này đã được thêm vào thư viện Tìm kiếm toàn cầu… - Không tìm thấy kết quả! Mới nhất Duyệt Tiêu đề diff --git a/app/src/main/res/values-zh-rCN/strings.xml b/app/src/main/res/values-zh-rCN/strings.xml index 3b23b8cd1..420b1cddf 100644 --- a/app/src/main/res/values-zh-rCN/strings.xml +++ b/app/src/main/res/values-zh-rCN/strings.xml @@ -281,7 +281,6 @@ 默认标签不能与其它标签一起选择 已将此漫画添加至书架 全局搜索… - 找不到! 最近更新 浏览 漫画已被移出数据库! diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 4b0f0e6f3..f72686b4f 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -328,7 +328,6 @@ Default can\'t be selected with other categories The manga has been added to your library Global search… - No results found! Latest Browse