add a variable name for delete confirmation callback return value

This commit is contained in:
tibbi 2017-10-19 21:07:24 +02:00
parent 0c408f6cf0
commit fd6f709aac

View file

@ -7,7 +7,7 @@ import com.simplemobiletools.commons.extensions.setupDialogStuff
import com.simplemobiletools.gallery.R
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
val view = LayoutInflater.from(context).inflate(R.layout.dialog_delete_with_remember, null)