mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-14 22:30:30 +05:30
Fixed hardcoded strings
This commit is contained in:
parent
0665ecb622
commit
671b59664b
@ -70,12 +70,12 @@ class SearchFragment : Fragment() {
|
||||
AlertDialog.Builder(view.context)
|
||||
.setTitle(getString(R.string.choose_filter))
|
||||
.setSingleChoiceItems(options, checkedItem, DialogInterface.OnClickListener {
|
||||
dialog, id -> tempSelectedItem = id
|
||||
dialog, id -> tempSelectedItem = id
|
||||
})
|
||||
.setPositiveButton("Ok", DialogInterface.OnClickListener {
|
||||
dialog, id -> checkedItem = tempSelectedItem
|
||||
.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