From fd6f709aac196b21b6bce9cb04a4ef0e163322e6 Mon Sep 17 00:00:00 2001 From: tibbi Date: Thu, 19 Oct 2017 21:07:24 +0200 Subject: [PATCH] add a variable name for delete confirmation callback return value --- .../gallery/dialogs/DeleteWithRememberDialog.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/dialogs/DeleteWithRememberDialog.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/dialogs/DeleteWithRememberDialog.kt index 2a5a91d24..05a240577 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/dialogs/DeleteWithRememberDialog.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/dialogs/DeleteWithRememberDialog.kt @@ -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)