Skip to content

Commit

Permalink
Merge branch 'takahirom/add-default-theme-test/2024-12-12' into takah…
Browse files Browse the repository at this point in the history
…irom/add-workaround-for-overlap/2024-12-12
  • Loading branch information
takahirom authored Dec 12, 2024
2 parents e92eea1 + 16e0ef3 commit b6ab0cd
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,8 @@ private fun StringBuilder.appendConfigInfo(config: SemanticsConfiguration, inden
// Save space if we there is text only in the object
append(value)
}
} else if (value is Iterable<*>) {
append(value.sortedBy { it.toString() })
} else {
append(value)
}
Expand All @@ -144,15 +146,15 @@ private fun StringBuilder.appendConfigInfo(config: SemanticsConfiguration, inden
appendLine()
append(indent)
append("[")
append(units.joinToString(separator = ", "))
append(units.sorted().joinToString(separator = ", "))
append("]")
}

if (actions.isNotEmpty()) {
appendLine()
append(indent)
append("Actions = [")
append(actions.joinToString(separator = ", "))
append(actions.sorted().joinToString(separator = ", "))
append("]")
}

Expand Down

0 comments on commit b6ab0cd

Please sign in to comment.