Skip to content

Commit

Permalink
Use Manifest.maxByteSize rather than a hardcoded number.
Browse files Browse the repository at this point in the history
  • Loading branch information
daveverwer committed Jul 4, 2023
1 parent 0d4527a commit a3c4bb0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ extension ValidateSPIManifest {
.autofocus(true),
.rows(15),
.text(model.manifest),
.attribute(named: "maxlength", value: "1000")
.attribute(named: "maxlength", value: "\(SPIManifest.Manifest.maxByteSize)")
)
),
.button(
Expand Down

0 comments on commit a3c4bb0

Please sign in to comment.