Make EitherView a simple view

This commit is contained in:
david-swift 2024-09-04 09:16:31 +02:00
parent 1680d34bb2
commit 4bf4b0eef5

View File

@ -8,7 +8,7 @@
import CAdw import CAdw
/// A widget showing one of two widgets based on a condition. /// A widget showing one of two widgets based on a condition.
public struct EitherView: View, Meta.EitherView { public struct EitherView: SimpleView, Meta.EitherView {
/// Whether the first view is visible. /// Whether the first view is visible.
var condition: Bool var condition: Bool