fix: Duplicate UUIDs dialog and state flow

This commit is contained in:
J-Jamet committed 2026-04-25 20:17:18 +02:00
1 parent a3b23aaf24
commit 6bd891f99b
19 files changed
+136 -140

No files matched your search

@@ -78,10 +78,19 @@ abstract class ActionRunnable: Runnable {
/**
* Class to manage result from ActionRunnable
*/
data class Result(var isSuccess: Boolean = true,
var message: String? = null,
var exception: DatabaseException? = null,
var data: Bundle? = null)
data class Result(
var isSuccess: Boolean = true,
var message: String? = null,
var exception: DatabaseException? = null,
var data: Bundle? = null
) {
fun clear() {
message = null
exception = null
data?.clear()
data = null
}
}
companion object {
private const val TAG = "ActionRunnable"