Fix style
This commit is contained in:
parent
645c8ec5a7
commit
a740e4ff27
@ -86,6 +86,7 @@ public struct ModifierWrapper: WinUIWidget, CommandBarWidget {
|
||||
return storage
|
||||
}
|
||||
|
||||
// swiftlint:disable cyclomatic_complexity
|
||||
/// Update the stored content.
|
||||
/// - Parameters:
|
||||
/// - storage: The storage to update.
|
||||
@ -136,5 +137,6 @@ public struct ModifierWrapper: WinUIWidget, CommandBarWidget {
|
||||
}
|
||||
storage.previousState = self
|
||||
}
|
||||
// swiftlint:enable cyclomatic_complexity
|
||||
|
||||
}
|
||||
|
@ -31,7 +31,7 @@ public struct VStack: WinUIWidget, Wrapper {
|
||||
}
|
||||
.inspectOnAppear { storage in
|
||||
let rows: [Grid.Row]? = storage.content[.mainContent]?.map { storage in
|
||||
return if storage.fields["v-stretch"] as? Bool == true {
|
||||
if storage.fields["v-stretch"] as? Bool == true {
|
||||
.init(height: 1)
|
||||
} else {
|
||||
.init()
|
||||
|
Loading…
Reference in New Issue
Block a user