mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-14 14:20:30 +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 {
|
.setSingleChoiceItems(options, checkedItem, DialogInterface.OnClickListener {
|
||||||
dialog, id -> tempSelectedItem = id
|
dialog, id -> tempSelectedItem = id
|
||||||
})
|
})
|
||||||
.setPositiveButton("Ok", DialogInterface.OnClickListener {
|
.setPositiveButton(getString(R.string.okay), DialogInterface.OnClickListener {
|
||||||
dialog, id -> checkedItem = tempSelectedItem
|
dialog, id -> checkedItem = tempSelectedItem
|
||||||
})
|
})
|
||||||
.setNegativeButton("Cancel", null)
|
.setNegativeButton(getString(R.string.cancel), null)
|
||||||
.create()
|
.create()
|
||||||
.show()
|
.show()
|
||||||
}
|
}
|
||||||
|
@ -76,4 +76,5 @@
|
|||||||
<string name="channels">Channels</string>
|
<string name="channels">Channels</string>
|
||||||
<string name="all">All</string>
|
<string name="all">All</string>
|
||||||
<string name="playlists">Playlists</string>
|
<string name="playlists">Playlists</string>
|
||||||
|
<string name="okay">Ok</string>
|
||||||
</resources>
|
</resources>
|
||||||
|
Loading…
Reference in New Issue
Block a user