From 747fa81fcd684dbf21627d8445fa6ae1e8d12c16 Mon Sep 17 00:00:00 2001 From: Jay Date: Sat, 22 Feb 2020 00:45:26 -0800 Subject: [PATCH] Added ripple to extension detail button + removed test notification from library update service --- .../data/library/LibraryUpdateService.kt | 13 ---------- .../main/res/layout/extension_card_item.xml | 24 +++++++++---------- 2 files changed, 12 insertions(+), 25 deletions(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/data/library/LibraryUpdateService.kt b/app/src/main/java/eu/kanade/tachiyomi/data/library/LibraryUpdateService.kt index fe2a16ef59..1a9294c194 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/data/library/LibraryUpdateService.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/data/library/LibraryUpdateService.kt @@ -17,7 +17,6 @@ import eu.kanade.tachiyomi.R import eu.kanade.tachiyomi.data.database.DatabaseHelper import eu.kanade.tachiyomi.data.database.models.Category import eu.kanade.tachiyomi.data.database.models.Chapter -import eu.kanade.tachiyomi.data.database.models.ChapterImpl import eu.kanade.tachiyomi.data.database.models.LibraryManga import eu.kanade.tachiyomi.data.database.models.Manga import eu.kanade.tachiyomi.data.database.models.MangaImpl @@ -346,18 +345,6 @@ class LibraryUpdateService( val downloadNew = preferences.downloadNew().getOrDefault() // Boolean to determine if DownloadManager has downloads var hasDownloads = false - val fakeM = LibraryManga() - fakeM.title = "Test" - fakeM.favorite = true - fakeM.id = -12 - fakeM.initialized = true - fakeM.url = "" - val fakeC = ChapterImpl() - fakeC.chapter_number = 1.0f - fakeC.name = "Chapter Test" - fakeC.id = -15 - fakeC.url = "" - newUpdates[fakeM] = arrayOf(fakeC) // Initialize the variables holding the progress of the updates. var count = 0 diff --git a/app/src/main/res/layout/extension_card_item.xml b/app/src/main/res/layout/extension_card_item.xml index 925d3407bb..0744174b95 100644 --- a/app/src/main/res/layout/extension_card_item.xml +++ b/app/src/main/res/layout/extension_card_item.xml @@ -1,6 +1,5 @@ - + tools:text="Batoto" /> + tools:visibility="visible" />