fix: Use string resource instead of hardcoded "About" (#421)

This commit is contained in:
Nik Clayton 2024-02-06 12:57:50 +01:00 committed by GitHub
parent 41c702fc1b
commit 75f75a7fc6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ class AboutFragmentAdapter(val activity: FragmentActivity) : FragmentStateAdapte
fun title(position: Int): CharSequence {
return when (position) {
0 -> "About"
0 -> activity.getString(R.string.about_title_activity)
1 -> activity.getString(R.string.title_licenses)
2 -> activity.getString(R.string.about_privacy_policy)
else -> throw IllegalStateException()