Skip to content
This repository has been archived by the owner on Oct 17, 2024. It is now read-only.

Commit

Permalink
Correct typos
Browse files Browse the repository at this point in the history
  • Loading branch information
david-swift committed Jan 23, 2024
1 parent d8de611 commit dc41f50
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Tests/FormDemo.swift
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ struct FormDemo: View {
}
}

var actionRows: Form {
.init {
var actionRows: View {
Form {
ActionRow("Rows have a title")
.subtitle(text)
ActionRow("Rows can have suffix widgets")
Expand Down
3 changes: 2 additions & 1 deletion user-manual/Information/AutoGeneratedWidgets.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ Properties of the type `GtkWidget` can be used in the following way:
}
```

`GMenuModel` is treated in a similarly:
`GMenuModel` is treated similarly:
```swift
var view: Body {
SplitButton()
Expand All @@ -87,3 +87,4 @@ var view: Body {
Some properties can be changed by a user action (e.g. toggles).
They expect a binding instead of a "normal" value.
Compilation error messages will be helpful in spotting those properties.

0 comments on commit dc41f50

Please sign in to comment.