mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-14 06:10:31 +05:30
Fixed hardcoded strings
This commit is contained in:
parent
0665ecb622
commit
671b59664b
@ -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()
|
||||
}
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user