From 7ad1dd8ee6c276400e0966740c7c464c7a74f447 Mon Sep 17 00:00:00 2001 From: Jay Date: Mon, 23 Dec 2019 13:23:37 -0800 Subject: [PATCH] Version 0.9.41 Fixed status bar not being transparent for dark themes on Android Pie and under Manga/Chapter titles are not longer truncated on notifications --- README.md | 2 +- app/build.gradle | 4 ++-- .../kanade/tachiyomi/data/library/LibraryUpdateService.kt | 4 ++-- app/src/main/res/raw/changelog_release.xml | 6 ++++++ app/src/main/res/values-night/themes.xml | 1 + 5 files changed, 12 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 5c8b385aca..946fd8614a 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ Tachiyomi is a free and open source manga reader for Android. ![screenshots of app](./.github/readme-images/theming-screenshots.gif) ## Newest Release -[v0.9.4](https://github.com/Jays2Kings/tachiyomi/releases) +[v0.9.41](https://github.com/Jays2Kings/tachiyomi/releases) ## Features diff --git a/app/build.gradle b/app/build.gradle index c52c0c66c6..03e39b08dd 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -38,8 +38,8 @@ android { minSdkVersion 21 targetSdkVersion 29 testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" - versionCode 47 - versionName '0.9.4' + versionCode 48 + versionName '0.9.41' buildConfigField "String", "COMMIT_COUNT", "\"${getCommitCount()}\"" buildConfigField "String", "COMMIT_SHA", "\"${getGitSha()}\"" 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 33aa3b6a7a..6bce18b689 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 @@ -453,7 +453,7 @@ class LibraryUpdateService( updates.forEach { val manga = it.first val chapters = it.second - val chapterNames = chapters.map { chapter -> chapter.name.chop(45) }.toSet() + val chapterNames = chapters.map { chapter -> chapter.name }.toSet() notifications.add(Pair(notification(Notifications.CHANNEL_NEW_CHAPTERS) { setSmallIcon(R.drawable.ic_tachiyomi_icon) try { @@ -463,7 +463,7 @@ class LibraryUpdateService( setLargeIcon(icon) } catch (e: Exception) { } - setContentTitle(manga.title.chop(45)) + setContentTitle(manga.title) color = ContextCompat.getColor(this@LibraryUpdateService, R.color.colorAccentLight) val chaptersNames = if (chapterNames.size > 5) { "${chapterNames.take(4).joinToString(", ")}, " + diff --git a/app/src/main/res/raw/changelog_release.xml b/app/src/main/res/raw/changelog_release.xml index 89b3af0f69..81050e46e2 100644 --- a/app/src/main/res/raw/changelog_release.xml +++ b/app/src/main/res/raw/changelog_release.xml @@ -1,5 +1,11 @@ + + Fixed status bar not being transparent for dark themes on Android Pie and + under + Manga/Chapter titles are not longer truncated on notifications + + Automatically check for updates for installed extensions (Enable it by going to Extensions -> Overflow menu -> Auto-check for updates) diff --git a/app/src/main/res/values-night/themes.xml b/app/src/main/res/values-night/themes.xml index f9842d1d60..afb7b4195a 100644 --- a/app/src/main/res/values-night/themes.xml +++ b/app/src/main/res/values-night/themes.xml @@ -22,6 +22,7 @@ @style/PreferenceThemeOverlay.v14.Material @color/dialogDark @style/Theme.AlertDialog.Dark + @android:color/transparent