Fixed hardcoded strings

This commit is contained in:
Bnyro 2022-05-15 10:30:07 +02:00
parent 0665ecb622
commit 671b59664b
2 changed files with 5 additions and 4 deletions

View File

@ -72,10 +72,10 @@ class SearchFragment : Fragment() {
.setSingleChoiceItems(options, checkedItem, DialogInterface.OnClickListener {
dialog, id -> tempSelectedItem = id
})
.setPositiveButton("Ok", DialogInterface.OnClickListener {
.setPositiveButton(getString(R.string.okay), DialogInterface.OnClickListener {
dialog, id -> checkedItem = tempSelectedItem
})
.setNegativeButton("Cancel", null)
.setNegativeButton(getString(R.string.cancel), null)
.create()
.show()
}

View File

@ -76,4 +76,5 @@
<string name="channels">Channels</string>
<string name="all">All</string>
<string name="playlists">Playlists</string>
<string name="okay">Ok</string>
</resources>