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