From 74e3d387ebde94191475074bba66a0b89e09dd9c Mon Sep 17 00:00:00 2001 From: len Date: Sun, 24 Jul 2016 15:41:58 +0200 Subject: [PATCH] Release v0.2.3 --- app/build.gradle | 6 ++--- app/proguard-rules.pro | 2 -- .../kanade/tachiyomi/ui/main/MainActivity.kt | 3 ++- .../ui/setting/SettingsSourcesFragment.kt | 2 +- app/src/main/res/raw/changelog_release.xml | 24 +++++++++++++++++++ app/src/main/res/values-es/strings.xml | 3 ++- 6 files changed, 32 insertions(+), 8 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 53f042baf5..6c06d311f0 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -38,8 +38,8 @@ android { minSdkVersion 16 targetSdkVersion 23 testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" - versionCode 9 - versionName "0.2.2-1" + versionCode 10 + versionName "0.2.3" buildConfigField "String", "COMMIT_COUNT", "\"${getCommitCount()}\"" buildConfigField "String", "COMMIT_SHA", "\"${getGitSha()}\"" @@ -51,7 +51,7 @@ android { buildTypes { debug { - versionNameSuffix ".${getCommitCount()}" + versionNameSuffix "-${getCommitCount()}" applicationIdSuffix ".debug" } release { diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index fa7a7b8b51..78c41e1350 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -1,7 +1,5 @@ -dontobfuscate --keep class eu.kanade.tachiyomi.injection.** { *; } - # OkHttp -keepattributes Signature -keepattributes *Annotation* diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/main/MainActivity.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/main/MainActivity.kt index 51a8c79519..54a3f78ebe 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/main/MainActivity.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/main/MainActivity.kt @@ -106,7 +106,8 @@ class MainActivity : BaseActivity() { .addNextIntent(Intent(this, MainActivity::class.java)) .startActivities() } else if (resultCode and SettingsActivity.FLAG_THEME_CHANGED != 0) { - recreate() + // Delay activity recreation to avoid fragment leaks. + nav_view.post { recreate() } } } else { super.onActivityResult(requestCode, resultCode, data) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsSourcesFragment.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsSourcesFragment.kt index 6ff8430688..56147e2566 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsSourcesFragment.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsSourcesFragment.kt @@ -41,7 +41,7 @@ class SettingsSourcesFragment : SettingsFragment() { override fun onViewCreated(view: View, savedState: Bundle?) { super.onViewCreated(view, savedState) - val langs = getLanguages() + val langs = getLanguages().sortedBy { it.lang } val entryKeys = langs.map { it.code } languagesPref.entries = langs.map { it.lang }.toTypedArray() diff --git a/app/src/main/res/raw/changelog_release.xml b/app/src/main/res/raw/changelog_release.xml index e6a0b567c1..41d312352c 100644 --- a/app/src/main/res/raw/changelog_release.xml +++ b/app/src/main/res/raw/changelog_release.xml @@ -1,6 +1,30 @@ + + Added a history of reading. ([a href="https://github.com/inorichi/tachiyomi/issues/316"]#316[/a]) + + Added an option to select the initial screen. ([a href="https://github.com/inorichi/tachiyomi/issues/395"]#395[/a]) + + Added spanish and portuguese translations. ([a href="https://github.com/inorichi/tachiyomi/issues/365"]#365[/a], [a href="https://github.com/inorichi/tachiyomi/issues/375"]#375[/a]) + + Added sources "Mangasee" and "Wie Manga!" ([a href="https://github.com/inorichi/tachiyomi/issues/355"]#355[/a], [a href="https://github.com/inorichi/tachiyomi/issues/379"]#379[/a]) + + New design for the reader's menu. ([a href="https://github.com/inorichi/tachiyomi/issues/368"]#368[/a]) + + When resuming chapters, the new loader starts from the page that was opened, instead of from the beginning. ([a href="https://github.com/inorichi/tachiyomi/issues/268"]#268[/a]) + + Custom brightness in the reader can be set even lower by applying a black layer on the top. ([a href="https://github.com/inorichi/tachiyomi/issues/362"]#362[/a]) + + Fixed reader's status bar reappearing in Android versions older than Kit Kat. ([a href="https://github.com/inorichi/tachiyomi/issues/359"]#359[/a]) + + Fixed UI bugs. ([a href="https://github.com/inorichi/tachiyomi/issues/332"]#332[/a], [a href="https://github.com/inorichi/tachiyomi/issues/333"]#333[/a], [a href="https://github.com/inorichi/tachiyomi/issues/351"]#351[/a], [a href="https://github.com/inorichi/tachiyomi/issues/361"]#361[/a]) + + Fixed empty library covers. + + Fixed some random crashes (most of them when downloading chapters). + + [b]Important![/b] Now chapters follow the order of the sources. [b]It's required that you update your entire library before reading to sync them.[/b] Old behavior can be restored for a manga in the overflow menu of the chapters tab. diff --git a/app/src/main/res/values-es/strings.xml b/app/src/main/res/values-es/strings.xml index 7485b3477a..5133f55749 100644 --- a/app/src/main/res/values-es/strings.xml +++ b/app/src/main/res/values-es/strings.xml @@ -95,7 +95,7 @@ Tema oscuro - Ocultar barra de estado + Pantalla completa Bloquear orientación Habilitar transiciones Mostrar el número de página @@ -262,6 +262,7 @@ Capítulo anterior no encontrado La imagen no se pudo decodificar. Intente de nuevo cambiándolo o seleccione una de las siguientes opciones ¿Actualizar el último capítulo leído a %1$d en los servicios activos? + Lector para esta serie Copia de seguridad