mirror of
https://github.com/SimpleMobileTools/Simple-App-Launcher.git
synced 2025-02-01 01:46:44 +01:00
use our own strings for OK and Cancel
This commit is contained in:
parent
3e37344e1b
commit
7af124726b
@ -31,12 +31,12 @@ class AddAppDialog() : DialogFragment() {
|
||||
recyclerView.launchers_holder.adapter = RecyclerDialogAdapter(activity, launchers)
|
||||
builder.setView(recyclerView)
|
||||
|
||||
builder.setPositiveButton(android.R.string.ok, { dialogInterface, i ->
|
||||
builder.setPositiveButton(R.string.ok, { dialogInterface, i ->
|
||||
val selectedApps = launchers.filter { it.isChecked } as ArrayList<AppLauncher>
|
||||
callback?.addLaunchers(selectedApps)
|
||||
})
|
||||
|
||||
builder.setNegativeButton(android.R.string.cancel, { dialogInterface, i ->
|
||||
builder.setNegativeButton(R.string.cancel, { dialogInterface, i ->
|
||||
callback?.updateLaunchers()
|
||||
})
|
||||
return builder.create()
|
||||
|
Loading…
x
Reference in New Issue
Block a user