Skip to content

Commit

Permalink
fix: bug closetag config
Browse files Browse the repository at this point in the history
  • Loading branch information
ThDev-only committed Oct 26, 2024
1 parent 33cacae commit 7d7ab3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion robok-gui/src/main/java/org/robok/easyui/GUIBuilder.kt
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ class GUIBuilder(
var attribute = ""

if (methodName.equals(Config.getName())) {
closingTagLayoutList.newLine(methodName)
if(!closingTagLayoutList.last().equals(methodName)) closingTagLayoutList.newLine(methodName)
when (key) {
"orientation" -> orientation = value
"style" -> style = value
Expand Down

0 comments on commit 7d7ab3e

Please sign in to comment.