Correct typos

This commit is contained in:
david-swift 2024-01-23 07:26:58 +01:00
parent d8de611510
commit dc41f50c52
2 changed files with 4 additions and 3 deletions

View File

@ -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")

View File

@ -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()
@ -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.