mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-02-17 04:20:38 +01:00
add a variable name for delete confirmation callback return value
This commit is contained in:
parent
0c408f6cf0
commit
fd6f709aac
@ -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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user