diff --git a/Tests/FormDemo.swift b/Tests/FormDemo.swift index b5f7fe6..b5b3cbc 100644 --- a/Tests/FormDemo.swift +++ b/Tests/FormDemo.swift @@ -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") diff --git a/user-manual/Information/AutoGeneratedWidgets.md b/user-manual/Information/AutoGeneratedWidgets.md index 3064288..7471e56 100644 --- a/user-manual/Information/AutoGeneratedWidgets.md +++ b/user-manual/Information/AutoGeneratedWidgets.md @@ -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. +