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
|
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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user