Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
Rene Dohan committed May 6, 2024
1 parent 71c8a24 commit 3fe3648
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@ import renetik.android.store.CSStore
open class CSJsonObjectStore : CSJsonObject(), CSStore {
override val eventLoaded = event<CSStore>()
override val eventChanged = event<CSStore>()
override fun load(data: Map<String, Any?>) = super.load(data)
override fun onLoaded() = eventLoaded.fire(this)
open fun onChanged() = eventChanged.fire(this)

override fun onChange() {
if (!isBulkSave) onChanged()
else isBulkSaveDirty = true
Expand Down

0 comments on commit 3fe3648

Please sign in to comment.