From 84eaa61bbd5898cf2482e862310310b414559c64 Mon Sep 17 00:00:00 2001 From: Jays2Kings Date: Sun, 21 Mar 2021 23:43:49 -0400 Subject: [PATCH] Fixes for Start/End Date for trackers --- .../java/eu/kanade/tachiyomi/data/database/models/Track.kt | 2 ++ app/src/main/res/layout/track_item.xml | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/data/database/models/Track.kt b/app/src/main/java/eu/kanade/tachiyomi/data/database/models/Track.kt index 986da74b9e..d22be5b0d6 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/data/database/models/Track.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/data/database/models/Track.kt @@ -34,6 +34,8 @@ interface Track : Serializable { last_chapter_read = other.last_chapter_read score = other.score status = other.status + started_reading_date = other.started_reading_date + finished_reading_date = other.finished_reading_date } companion object { diff --git a/app/src/main/res/layout/track_item.xml b/app/src/main/res/layout/track_item.xml index 85d4397b7b..4934c36c0e 100644 --- a/app/src/main/res/layout/track_item.xml +++ b/app/src/main/res/layout/track_item.xml @@ -207,7 +207,7 @@ style="@style/TextAppearance.Regular.Body1.Secondary" android:layout_width="0dp" android:layout_height="wrap_content" - android:background="@drawable/list_item_selector" + android:background="@drawable/card_item_selector" android:ellipsize="end" android:gravity="center" android:maxLines="1" @@ -235,7 +235,7 @@ style="@style/TextAppearance.Regular.Body1.Secondary" android:layout_width="0dp" android:layout_height="wrap_content" - android:background="@drawable/list_item_selector" + android:background="@drawable/card_item_selector" android:ellipsize="end" android:gravity="center" android:maxLines="1"