Skip to content

Commit

Permalink
Hide the repositories row if only one repo is configured
Browse files Browse the repository at this point in the history
  • Loading branch information
RedNesto committed Jul 11, 2024
1 parent cba685f commit 1ce67eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/kotlin/creator/custom/CustomPlatformStep.kt
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,9 @@ class CustomPlatformStep(
lateinit var templatePropertyPlaceholder: Placeholder

builder.row(MCDevBundle("creator.ui.custom.repos.label")) {
segmentedButton(templateRepos, { it.name })
segmentedButton(templateRepos) { it.name }
.bind(templateRepoProperty)
}
}.visible(templateRepos.size > 1)

builder.row {
templateProvidersProcessIcon =
Expand Down

0 comments on commit 1ce67eb

Please sign in to comment.