Skip to content

Commit

Permalink
release: 0.8.6 (#159)
Browse files Browse the repository at this point in the history
  • Loading branch information
devxb authored Oct 28, 2024
2 parents 5b41316 + 63fd5c6 commit 56df78e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/org/gitanimals/render/domain/User.kt
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ class User(
}

private fun getOrCreateDefaultFieldIfAbsent() = fields.firstOrNull { it.isChoose() } ?: run {
this.addField(FieldType.WHITE_FIELD)
this.fields.add(Field.from(this, FieldType.WHITE_FIELD))
this.chooseField(FieldType.WHITE_FIELD)

fields.first { it.fieldType == FieldType.WHITE_FIELD }
Expand Down

0 comments on commit 56df78e

Please sign in to comment.