17 lines
392 B
Kotlin
Executable File
17 lines
392 B
Kotlin
Executable File
// SPDX-FileCopyrightText: 2023 yuzu Emulator Project
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
package org.yuzu.yuzu_emu.model
|
|
|
|
import androidx.lifecycle.ViewModel
|
|
|
|
class MessageDialogViewModel : ViewModel() {
|
|
var positiveAction: (() -> Unit)? = null
|
|
var negativeAction: (() -> Unit)? = null
|
|
|
|
fun clear() {
|
|
positiveAction = null
|
|
negativeAction = null
|
|
}
|
|
}
|