Move "Show Less" to strings.xml (Closes #141)

This commit is contained in:
LooKeR 2021-12-12 00:16:36 +05:30
parent df1a396d98
commit eba97aaf7c
2 changed files with 2 additions and 3 deletions

View File

@ -1211,9 +1211,7 @@ class AppDetailAdapter(private val callbacks: Callbacks) :
ExpandType.VERSIONS -> context.getString(R.string.show_older_versions)
else -> context.getString(R.string.show_more)
}
} else {
"Show Less"
}
} else context.getString(R.string.show_less)
}
ViewType.TEXT -> {
holder as TextViewHolder

View File

@ -173,4 +173,5 @@
<string name="website">Website</string>
<string name="prefs_language_title">Language</string>
<string name="prefs_personalization">Personalization</string>
<string name="show_less">Show Less</string>
</resources>