Added Last Used header to browse

This commit is contained in:
Jay
2020-04-22 20:33:43 -04:00
committed by arkon
parent 8c1ec43500
commit a088c9ca7c
4 changed files with 4 additions and 0 deletions

View File

@@ -50,6 +50,7 @@ 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)
"all" -> context.getString(R.string.all_lang)
else -> getDisplayName(lang)