From f61f0305a99183955b9dfadf239a6f2b35c6ac5d Mon Sep 17 00:00:00 2001 From: curche <72807749+curche@users.noreply.github.com> Date: Mon, 4 Oct 2021 00:59:03 +0530 Subject: [PATCH] group LocalSource and Other lang source together --- .../main/java/eu/kanade/tachiyomi/util/system/LocaleHelper.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/util/system/LocaleHelper.kt b/app/src/main/java/eu/kanade/tachiyomi/util/system/LocaleHelper.kt index c4580bbcd4..4d4b7a3935 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/util/system/LocaleHelper.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/util/system/LocaleHelper.kt @@ -16,9 +16,10 @@ object LocaleHelper { */ fun getSourceDisplayName(lang: String?, context: Context): String { return when (lang) { - "" -> context.getString(R.string.other_source) SourcePresenter.LAST_USED_KEY -> context.getString(R.string.last_used_source) SourcePresenter.PINNED_KEY -> context.getString(R.string.pinned_sources) + "" -> context.getString(R.string.other_source) + "other" -> context.getString(R.string.other_source) "all" -> context.getString(R.string.all_lang) else -> getDisplayName(lang) }