From 06c63f1207911019ec5b2f414e367a3b82d0a3dd Mon Sep 17 00:00:00 2001 From: len Date: Tue, 29 Mar 2016 13:47:32 +0200 Subject: [PATCH] Fix a crash in the reader when restoring the instance. Removed capitalization on each word --- .../kanade/tachiyomi/ui/reader/ReaderPresenter.kt | 2 +- app/src/main/res/values/strings.xml | 14 +++++++------- build.gradle | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderPresenter.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderPresenter.kt index 6235a1430..44a900403 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderPresenter.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderPresenter.kt @@ -73,8 +73,8 @@ class ReaderPresenter : BasePresenter() { super.onCreate(savedState) if (savedState != null) { - source = sourceManager.get(manga.source)!! manga = savedState.getSerializable(MANGA_KEY) as Manga + source = sourceManager.get(manga.source)!! chapter = savedState.getSerializable(CHAPTER_KEY) as Chapter requestedPage = savedState.getInt(PAGE_KEY) initializeSubjects() diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 749dbb89e..34475fe4c 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -87,9 +87,9 @@ Every 2 days Sync chapters after reading Confirm before updating - Application Theme - Main Theme - Dark Theme + Application theme + Main theme + Dark theme @@ -263,7 +263,7 @@ Download Ignore No new updates available - Download Started + Download started Looking for updates @@ -271,8 +271,8 @@ Cover of selected manga - No Downloads - No Recent Chapters - Empty Library + No downloads + No recent chapters + Empty library diff --git a/build.gradle b/build.gradle index 517e10293..bdaf01c33 100644 --- a/build.gradle +++ b/build.gradle @@ -6,7 +6,7 @@ buildscript { jcenter() } dependencies { - classpath 'com.android.tools.build:gradle:2.1.0-alpha3' + classpath 'com.android.tools.build:gradle:2.1.0-alpha4' classpath 'com.github.ben-manes:gradle-versions-plugin:0.12.0' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files