Skip to content

Commit bee42cc

Browse files
committed
Merge branch 'develop'
2 parents ea05399 + 83fbb3a commit bee42cc

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

LICENSE

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
TBD
2+
3+
Copyright 2019 ZeeZide GmbH
4+
5+
Provided on an "AS IS" BASIS, WITHOUT WARRANTIES OR
6+
CONDITIONS OF ANY KIND, either express or implied.

Sources/DirectToSwiftUI/D2SMainView.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@ import struct SwiftUIRules.RuleContext
1010
import SwiftUI
1111

1212
public struct D2SMainView: View {
13-
14-
// TODO: needs login state and async fetches
15-
13+
1614
@ObservedObject private var viewModel : D2SRuleEnvironment
1715

1816
public init(adaptor: Adaptor, ruleModel: RuleModel) {

Sources/DirectToSwiftUI/Views/BasicLook/Reusable/D2SNavigationLink.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,13 @@ public struct D2SNavigationLink<Label, Destination>: View
4242
isActive: isActive!)
4343
{
4444
label
45+
.ruleContext(context)
4546
}
4647
}
4748
else {
4849
NavigationLink(destination: destination.ruleContext(context)) {
4950
label
51+
.ruleContext(context)
5052
}
5153
}
5254
}

0 commit comments

Comments
 (0)