mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2025-12-04 15:49:33 +01:00
Replace string section
This commit is contained in:
@@ -30,10 +30,9 @@ class IconPickerFragment : Fragment() {
|
|||||||
iconPickerPagerAdapter = IconPickerPagerAdapter(this)
|
iconPickerPagerAdapter = IconPickerPagerAdapter(this)
|
||||||
viewPager.adapter = iconPickerPagerAdapter
|
viewPager.adapter = iconPickerPagerAdapter
|
||||||
TabLayoutMediator(tabLayout, viewPager) { tab, position ->
|
TabLayoutMediator(tabLayout, viewPager) { tab, position ->
|
||||||
// TODO Custom String
|
|
||||||
tab.text = when (position) {
|
tab.text = when (position) {
|
||||||
1 -> "Custom"
|
1 -> getString(R.string.icon_section_custom)
|
||||||
else -> "Standard"
|
else -> getString(R.string.icon_section_standard)
|
||||||
}
|
}
|
||||||
}.attach()
|
}.attach()
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -574,6 +574,8 @@
|
|||||||
<item>Dark</item>
|
<item>Dark</item>
|
||||||
<item>Follow the system</item>
|
<item>Follow the system</item>
|
||||||
</string-array>
|
</string-array>
|
||||||
|
<string name="icon_section_standard">Standard</string>
|
||||||
|
<string name="icon_section_custom">Custom</string>
|
||||||
<string name="icon_pack_choose_title">Icon pack</string>
|
<string name="icon_pack_choose_title">Icon pack</string>
|
||||||
<string name="icon_pack_choose_summary">Icon pack used in the app</string>
|
<string name="icon_pack_choose_summary">Icon pack used in the app</string>
|
||||||
<string name="hide_expired_entries_title">Hide expired entries</string>
|
<string name="hide_expired_entries_title">Hide expired entries</string>
|
||||||
|
|||||||
Reference in New Issue
Block a user