Also fix padding in RTL langauges of the lang holder
This commit is contained in:
Jays2Kings 2023-03-13 14:45:20 -04:00
parent de1442b953
commit d0ce8f2861
2 changed files with 2 additions and 1 deletions

View file

@ -16,7 +16,7 @@ object LocaleHelper {
*/
fun getSourceDisplayName(lang: String?, context: Context): String {
return when (lang) {
"" -> context.getString(R.string.other)
"", "other" -> context.getString(R.string.other)
SourcePresenter.LAST_USED_KEY -> context.getString(R.string.last_used)
SourcePresenter.PINNED_KEY -> context.getString(R.string.pinned)
"all" -> context.getString(R.string.all)

View file

@ -13,6 +13,7 @@
android:paddingTop="8dp"
android:paddingBottom="8dp"
android:paddingStart="12dp"
android:paddingEnd="12dp"
tools:text="Title" />
</FrameLayout>