From 5f8643a33d951b01990702dbc4393d028b063b5c Mon Sep 17 00:00:00 2001 From: Carlos Date: Wed, 8 Apr 2020 17:49:35 -0400 Subject: [PATCH 1/4] switch tracker cards to use the background_card attr --- app/src/main/res/drawable/card_item_selector.xml | 2 +- app/src/main/res/layout/track_item.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/res/drawable/card_item_selector.xml b/app/src/main/res/drawable/card_item_selector.xml index 6e46394f7c..7c810901d6 100644 --- a/app/src/main/res/drawable/card_item_selector.xml +++ b/app/src/main/res/drawable/card_item_selector.xml @@ -15,7 +15,7 @@ - + diff --git a/app/src/main/res/layout/track_item.xml b/app/src/main/res/layout/track_item.xml index 5810e54924..3259f8e355 100644 --- a/app/src/main/res/layout/track_item.xml +++ b/app/src/main/res/layout/track_item.xml @@ -11,7 +11,7 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_weight="1" - android:background="@color/dialog"> + android:background="?attr/background_card"> Date: Wed, 8 Apr 2020 17:55:39 -0400 Subject: [PATCH 2/4] switch to accent color for the downloaded --- app/src/main/res/layout/download_button.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/res/layout/download_button.xml b/app/src/main/res/layout/download_button.xml index a17cc8cc69..91a3de6c53 100644 --- a/app/src/main/res/layout/download_button.xml +++ b/app/src/main/res/layout/download_button.xml @@ -33,7 +33,7 @@ style="?android:attr/progressBarStyleHorizontal" android:progressDrawable="@drawable/circle_progress" android:layout_gravity="center" - android:progressTint="@color/material_green_800" + android:progressTint="@color/colorAccent" android:progressBackgroundTint="@color/material_on_surface_disabled"/> From 124bb63442766a71ff25450679ff909f180cfa9e Mon Sep 17 00:00:00 2001 From: Carlos Date: Fri, 10 Apr 2020 17:58:22 -0400 Subject: [PATCH 3/4] switch to use color accent --- app/src/main/res/layout/manga_header_item.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/res/layout/manga_header_item.xml b/app/src/main/res/layout/manga_header_item.xml index d77bbb9f44..95214c61f9 100644 --- a/app/src/main/res/layout/manga_header_item.xml +++ b/app/src/main/res/layout/manga_header_item.xml @@ -297,9 +297,9 @@ android:layout_marginEnd="16dp" android:visibility="gone" app:atg_backgroundColor="@android:color/transparent" - app:atg_borderColor="@color/md_blue_A400" + app:atg_borderColor="@color/colorAccent" app:atg_borderStrokeWidth="1dp" - app:atg_textColor="@color/md_blue_A400" + app:atg_textColor="@color/colorAccent" app:layout_constrainedHeight="true" app:layout_constraintBottom_toTopOf="@id/less_button" app:layout_constraintEnd_toEndOf="parent" From 6b55d84ac86fb79e6a39d19cce2c069856bf4721 Mon Sep 17 00:00:00 2001 From: Carlos Date: Fri, 10 Apr 2020 17:59:07 -0400 Subject: [PATCH 4/4] add refresh trackers when opening details --- .../java/eu/kanade/tachiyomi/ui/manga/MangaDetailsPresenter.kt | 1 + 1 file changed, 1 insertion(+) 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 ed70804b3e..b85587d906 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 @@ -92,6 +92,7 @@ class MangaDetailsPresenter( controller.updateChapters(this.chapters) } fetchTrackings() + refreshTrackers() } fun onDestroy() {