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
This commit is contained in:
Jay 2019-12-23 13:23:37 -08:00
parent 3965353452
commit 7ad1dd8ee6
5 changed files with 12 additions and 5 deletions

View file

@ -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

View file

@ -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()}\""

View file

@ -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(", ")}, " +

View file

@ -1,5 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<changelog bulletedList="true">
<changelogversion versionName="v0.9.41" changeDate="">
<changelogtext>Fixed status bar not being transparent for dark themes on Android Pie and
under</changelogtext>
<changelogtext>Manga/Chapter titles are not longer truncated on notifications</changelogtext>
</changelogversion>
<changelogversion versionName="v0.9.4" changeDate="">
<changelogtext>Automatically check for updates for installed extensions (Enable it by
going to Extensions -> Overflow menu -> Auto-check for updates)</changelogtext>

View file

@ -22,6 +22,7 @@
<item name="preferenceTheme">@style/PreferenceThemeOverlay.v14.Material</item>
<item name="md_background_color">@color/dialogDark</item>
<item name="alertDialogTheme">@style/Theme.AlertDialog.Dark</item>
<item name="android:statusBarColor">@android:color/transparent</item>
<!-- Custom Attributes-->