From 4bf4b0eef554871bf5e4a433fbedefbad0f216f1 Mon Sep 17 00:00:00 2001 From: david-swift Date: Wed, 4 Sep 2024 09:16:31 +0200 Subject: [PATCH] Make EitherView a simple view --- Sources/Adwaita/View/EitherView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Adwaita/View/EitherView.swift b/Sources/Adwaita/View/EitherView.swift index dc14f64..fd53086 100644 --- a/Sources/Adwaita/View/EitherView.swift +++ b/Sources/Adwaita/View/EitherView.swift @@ -8,7 +8,7 @@ import CAdw /// 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. var condition: Bool