Skip to content

Commit

Permalink
fix: clear changes when applying it (#3147)
Browse files Browse the repository at this point in the history
  • Loading branch information
mfazekas authored Oct 28, 2023
1 parent 6e77c7b commit 3f7cf67
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ class PropertyChanges<T : Any> {

fun apply(target: T) {
for (entry in changes.entries.iterator()) {
print("key => ${entry.key}")
entry.value.apply(target)
}
changes.clear()
}
}

0 comments on commit 3f7cf67

Please sign in to comment.