add a variable name for delete confirmation callback return value
This commit is contained in:
parent
0c408f6cf0
commit
fd6f709aac
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ import com.simplemobiletools.commons.extensions.setupDialogStuff
|
||||||
import com.simplemobiletools.gallery.R
|
import com.simplemobiletools.gallery.R
|
||||||
import kotlinx.android.synthetic.main.dialog_delete_with_remember.view.*
|
import kotlinx.android.synthetic.main.dialog_delete_with_remember.view.*
|
||||||
|
|
||||||
class DeleteWithRememberDialog(val context: Context, val callback: (Boolean) -> Unit) {
|
class DeleteWithRememberDialog(val context: Context, val callback: (remember: Boolean) -> Unit) {
|
||||||
var dialog: AlertDialog
|
var dialog: AlertDialog
|
||||||
val view = LayoutInflater.from(context).inflate(R.layout.dialog_delete_with_remember, null)
|
val view = LayoutInflater.from(context).inflate(R.layout.dialog_delete_with_remember, null)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue