Skip to content

Commit

Permalink
Version 0.9.41
Browse files Browse the repository at this point in the history
Fixed status bar not being transparent for dark themes on Android Pie and under
Manga/Chapter titles are not longer truncated on notifications
  • Loading branch information
Jays2Kings committed Dec 23, 2019
1 parent 3965353 commit 7ad1dd8
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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()}\""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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(", ")}, " +
Expand Down
6 changes: 6 additions & 0 deletions app/src/main/res/raw/changelog_release.xml
Original file line number Diff line number Diff line change
@@ -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>
Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/values-night/themes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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-->
Expand Down

0 comments on commit 7ad1dd8

Please sign in to comment.