forked from aparoksha/adwaita-swift
Make EitherView a simple view
This commit is contained in:
parent
1680d34bb2
commit
4bf4b0eef5
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user