Skip to content

Commit

Permalink
some updates
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiikhliustin committed Jul 3, 2023
1 parent af1e148 commit 319bb36
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
"repositoryURL": "https://github.com/gonzalezreal/swift-markdown-ui",
"state": {
"branch": null,
"revision": "b89d6e4b60f86d3a8163cc97bf48d4c959015370",
"version": "2.0.0"
"revision": "12b351a75201a8124c2f2e1f9fc6ef5cd812c0b9",
"version": "2.1.0"
}
},
{
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion Modules/BuildioUI/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ let package = Package(
dependencies: [
.package(name: "Models", path: "../Models"),
.package(name: "BuildioLogic", path: "../BuildioLogic"),
.package(name: "MarkdownUI", url: "https://github.com/gonzalezreal/swift-markdown-ui", from: "2.0.0")
.package(name: "MarkdownUI", url: "https://github.com/gonzalezreal/swift-markdown-ui", from: "2.1.0")
],
targets: [
.target(
Expand Down
27 changes: 12 additions & 15 deletions Modules/BuildioUI/Sources/BuildioUI/UI/Build/Views/BuildView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -188,23 +188,20 @@ struct BuildView: View {
Rectangle().fill(theme.separatorColor).frame(height: 1)
}
}

if let params = build.originalBuildParamsString {

Group {
Text("Build parameters:").secondary()

Group {
Text("Build parameters:").secondary()

Group {
TextElement(params)
.primary()
.font(.footnote)
.lineLimit(nil)
.padding(10)
.layoutPriority(1)
}
.cornerRadius(4)
.border(theme.borderColor, width: 1)

TextElement(build.originalBuildParamsString)
.primary()
.font(.footnote)
.lineLimit(nil)
.padding(10)
.layoutPriority(1)
}
.cornerRadius(4)
.border(theme.borderColor, width: 1)
}
}
.padding(.horizontal, 8)
Expand Down

0 comments on commit 319bb36

Please sign in to comment.