Exverge
4106a59d8f
Some checks failed
suyu-ci / Check REUSE Specification (push) Failing after 13s
codespell / Check for spelling errors (push) Has been cancelled
suyu verify / Verify Format (push) Has been cancelled
suyu verify / test build (linux-fresh, clang) (push) Has been cancelled
suyu verify / test build (linux-fresh, linux) (push) Has been cancelled
suyu verify / test build (linux-mingw, windows) (push) Has been cancelled
suyu verify / android (push) Has been cancelled
Would've been nice to know [skip ci] was on Forgejo >1.21 only
17 lines
446 B
Kotlin
17 lines
446 B
Kotlin
// SPDX-FileCopyrightText: 2023 yuzu Emulator Project 2023 yuzu Emulator Project 2024 suyu Emulator Project
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
package org.suyu.suyu_emu.model
|
|
|
|
import androidx.lifecycle.ViewModel
|
|
|
|
class MessageDialogViewModel : ViewModel() {
|
|
var positiveAction: (() -> Unit)? = null
|
|
var negativeAction: (() -> Unit)? = null
|
|
|
|
fun clear() {
|
|
positiveAction = null
|
|
negativeAction = null
|
|
}
|
|
}
|