From 441e2a69d8797084b5024743484a6f48debe0238 Mon Sep 17 00:00:00 2001 From: arkon Date: Sun, 29 Mar 2020 16:41:14 -0400 Subject: [PATCH] Minor edits --- .../ui/catalogue/browse/CatalogueNavigationView.kt | 2 -- .../eu/kanade/tachiyomi/ui/more/AboutController.kt | 2 +- app/src/main/res/layout/catalogue_drawer_content.xml | 6 ++---- app/src/main/res/values/strings.xml | 10 +++------- 4 files changed, 6 insertions(+), 14 deletions(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/catalogue/browse/CatalogueNavigationView.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/catalogue/browse/CatalogueNavigationView.kt index 888af9542..624d25b92 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/catalogue/browse/CatalogueNavigationView.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/catalogue/browse/CatalogueNavigationView.kt @@ -10,7 +10,6 @@ import eu.kanade.tachiyomi.util.view.inflate import eu.kanade.tachiyomi.widget.SimpleNavigationView import kotlinx.android.synthetic.main.catalogue_drawer_content.view.reset_btn import kotlinx.android.synthetic.main.catalogue_drawer_content.view.search_btn -import kotlinx.android.synthetic.main.catalogue_drawer_content.view.title class CatalogueNavigationView @JvmOverloads constructor(context: Context, attrs: AttributeSet? = null) : SimpleNavigationView(context, attrs) { @@ -29,7 +28,6 @@ class CatalogueNavigationView @JvmOverloads constructor(context: Context, attrs: val view = inflate(R.layout.catalogue_drawer_content) ((view as ViewGroup).getChildAt(1) as ViewGroup).addView(recycler) addView(view) - title.text = context.getString(R.string.source_search_options) search_btn.setOnClickListener { onSearchClicked() } reset_btn.setOnClickListener { onResetClicked() } } diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/more/AboutController.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/more/AboutController.kt index ddac83b7e..2efb8264b 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/more/AboutController.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/more/AboutController.kt @@ -149,7 +149,7 @@ class AboutController : SettingsController() { override fun onCreateDialog(savedViewState: Bundle?): Dialog { return MaterialDialog.Builder(activity!!) - .title(R.string.update_check_title) + .title(R.string.update_check_notification_update_available) .content(args.getString(BODY_KEY) ?: "") .positiveText(R.string.update_check_confirm) .negativeText(R.string.update_check_ignore) diff --git a/app/src/main/res/layout/catalogue_drawer_content.xml b/app/src/main/res/layout/catalogue_drawer_content.xml index 931b8bb69..cdcf7ac2b 100644 --- a/app/src/main/res/layout/catalogue_drawer_content.xml +++ b/app/src/main/res/layout/catalogue_drawer_content.xml @@ -1,6 +1,5 @@ + android:textColor="?attr/colorOnPrimary" /> diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index fec805ffb..cafdc1adf 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -418,6 +418,7 @@ Delete downloaded chapters? %1$s copied to clipboard Source not installed: %1$s + Add manga to library? Chapters @@ -475,9 +476,6 @@ This will remove the read date of this chapter. Are you sure? Reset all chapters for this manga - - Add manga to library? - Picture saved Saving picture @@ -506,7 +504,7 @@ Loading pages… Failed to load pages: %1$s - + %1$s - Ch.%2$s @@ -553,11 +551,9 @@ Select shortcut icon - New version available! Download Ignore No new updates available - Download started Searching for updates… @@ -565,7 +561,7 @@ Downloading… Download complete Download error - Update available + New version available!