mirror of
https://github.com/kkebo/DNSecure.git
synced 2026-03-11 08:54:36 +00:00
fix: fix build failure
This commit is contained in:
parent
2c3f8a4b2f
commit
17f950ecba
1 changed files with 3 additions and 1 deletions
|
|
@ -114,8 +114,10 @@ extension RuleView: View {
|
|||
}
|
||||
}
|
||||
|
||||
@available(iOS 17, *)
|
||||
#Preview {
|
||||
@Previewable @State var rule = OnDemandRule(name: "Preview Rule")
|
||||
NavigationStack {
|
||||
RuleView(rule: .constant(OnDemandRule(name: "Preview Rule")))
|
||||
RuleView(rule: $rule)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue