mirror of
https://github.com/Aviortheking/Neo-Store.git
synced 2025-04-23 19:32:16 +00:00
Move "Show Less" to strings.xml (Closes #141)
This commit is contained in:
parent
df1a396d98
commit
eba97aaf7c
@ -1211,9 +1211,7 @@ class AppDetailAdapter(private val callbacks: Callbacks) :
|
|||||||
ExpandType.VERSIONS -> context.getString(R.string.show_older_versions)
|
ExpandType.VERSIONS -> context.getString(R.string.show_older_versions)
|
||||||
else -> context.getString(R.string.show_more)
|
else -> context.getString(R.string.show_more)
|
||||||
}
|
}
|
||||||
} else {
|
} else context.getString(R.string.show_less)
|
||||||
"Show Less"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
ViewType.TEXT -> {
|
ViewType.TEXT -> {
|
||||||
holder as TextViewHolder
|
holder as TextViewHolder
|
||||||
|
@ -173,4 +173,5 @@
|
|||||||
<string name="website">Website</string>
|
<string name="website">Website</string>
|
||||||
<string name="prefs_language_title">Language</string>
|
<string name="prefs_language_title">Language</string>
|
||||||
<string name="prefs_personalization">Personalization</string>
|
<string name="prefs_personalization">Personalization</string>
|
||||||
|
<string name="show_less">Show Less</string>
|
||||||
</resources>
|
</resources>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user