Skip to content

Commit

Permalink
Make EitherView a simple view
Browse files Browse the repository at this point in the history
  • Loading branch information
david-swift committed Sep 4, 2024
1 parent 1680d34 commit 4bf4b0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Adwaita/View/EitherView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4bf4b0e

Please sign in to comment.