mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-14 14:20:30 +05:30
Inline DeleteAccountDialog binding field.
This commit is contained in:
parent
3dbf49510a
commit
f8994a08af
@ -17,10 +17,8 @@ import com.google.android.material.dialog.MaterialAlertDialogBuilder
|
||||
class DeleteAccountDialog(
|
||||
private val onLogout: () -> Unit
|
||||
) : DialogFragment() {
|
||||
private lateinit var binding: DialogDeleteAccountBinding
|
||||
|
||||
override fun onCreateDialog(savedInstanceState: Bundle?): Dialog {
|
||||
binding = DialogDeleteAccountBinding.inflate(layoutInflater)
|
||||
val binding = DialogDeleteAccountBinding.inflate(layoutInflater)
|
||||
|
||||
binding.cancelButton.setOnClickListener {
|
||||
dialog?.dismiss()
|
||||
|
Loading…
Reference in New Issue
Block a user