- library updated - all `Failed to produce diagnostics for expression` fixed
This commit is contained in:
parent
4f029e0ba4
commit
4c36aa39a2
|
@ -2050,7 +2050,7 @@
|
||||||
repositoryURL = "https://github.com/pointfreeco/swift-composable-architecture";
|
repositoryURL = "https://github.com/pointfreeco/swift-composable-architecture";
|
||||||
requirement = {
|
requirement = {
|
||||||
kind = exactVersion;
|
kind = exactVersion;
|
||||||
version = 0.38.2;
|
version = 0.39.0;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
9E2AC0FD27D8EC120042AA47 /* XCRemoteSwiftPackageReference "MnemonicSwift" */ = {
|
9E2AC0FD27D8EC120042AA47 /* XCRemoteSwiftPackageReference "MnemonicSwift" */ = {
|
||||||
|
|
|
@ -5,8 +5,8 @@
|
||||||
"kind" : "remoteSourceControl",
|
"kind" : "remoteSourceControl",
|
||||||
"location" : "https://github.com/pointfreeco/combine-schedulers",
|
"location" : "https://github.com/pointfreeco/combine-schedulers",
|
||||||
"state" : {
|
"state" : {
|
||||||
"revision" : "0ba3a562716efabb585ccb169450c5389107286b",
|
"revision" : "f7c8277f05f27a5bfb2f6ecccb0bad126ffcf472",
|
||||||
"version" : "0.6.0"
|
"version" : "0.7.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -68,8 +68,8 @@
|
||||||
"kind" : "remoteSourceControl",
|
"kind" : "remoteSourceControl",
|
||||||
"location" : "https://github.com/pointfreeco/swift-composable-architecture",
|
"location" : "https://github.com/pointfreeco/swift-composable-architecture",
|
||||||
"state" : {
|
"state" : {
|
||||||
"revision" : "d0ba4b87358a11d5be26d125ef3d3d492a07d8cf",
|
"revision" : "108e3a536fcebb16c4f247ef92c2d7326baf9fe3",
|
||||||
"version" : "0.38.2"
|
"version" : "0.39.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -185,8 +185,8 @@
|
||||||
"kind" : "remoteSourceControl",
|
"kind" : "remoteSourceControl",
|
||||||
"location" : "https://github.com/pointfreeco/xctest-dynamic-overlay",
|
"location" : "https://github.com/pointfreeco/xctest-dynamic-overlay",
|
||||||
"state" : {
|
"state" : {
|
||||||
"revision" : "f821dcbac7cb6913f8e0d1a80496d0ba0199fa81",
|
"revision" : "38bc9242e4388b80bd23ddfdf3071428859e3260",
|
||||||
"version" : "0.3.0"
|
"version" : "0.4.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -44,7 +44,7 @@ struct AppView: View {
|
||||||
|
|
||||||
case .startup:
|
case .startup:
|
||||||
ZStack(alignment: .topTrailing) {
|
ZStack(alignment: .topTrailing) {
|
||||||
DebugView(sendAction: viewStore.send)
|
debugView(viewStore)
|
||||||
.transition(.opacity)
|
.transition(.opacity)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -84,35 +84,31 @@ struct AppView: View {
|
||||||
}
|
}
|
||||||
|
|
||||||
private extension AppView {
|
private extension AppView {
|
||||||
struct DebugView: View {
|
@ViewBuilder func debugView(_ viewStore: AppViewStore) -> some View {
|
||||||
var sendAction: (AppAction) -> Void
|
List {
|
||||||
|
Section(header: Text("Navigation Stack Routes")) {
|
||||||
var body: some View {
|
Button("Go To Sandbox (navigation proof)") {
|
||||||
List {
|
viewStore.send(.updateRoute(.sandbox))
|
||||||
Section(header: Text("Navigation Stack Routes")) {
|
}
|
||||||
Button("Go To Sandbox (navigation proof)") {
|
|
||||||
sendAction(.updateRoute(.sandbox))
|
Button("Go To Onboarding") {
|
||||||
}
|
viewStore.send(.updateRoute(.onboarding))
|
||||||
|
}
|
||||||
Button("Go To Onboarding") {
|
|
||||||
sendAction(.updateRoute(.onboarding))
|
Button("Go To Phrase Validation Demo") {
|
||||||
}
|
viewStore.send(.updateRoute(.phraseValidation))
|
||||||
|
}
|
||||||
Button("Go To Phrase Validation Demo") {
|
|
||||||
sendAction(.updateRoute(.phraseValidation))
|
Button("Restart the app") {
|
||||||
}
|
viewStore.send(.updateRoute(.welcome))
|
||||||
|
}
|
||||||
Button("Restart the app") {
|
|
||||||
sendAction(.updateRoute(.welcome))
|
Button("[Be careful] Nuke Wallet") {
|
||||||
}
|
viewStore.send(.nukeWallet)
|
||||||
|
|
||||||
Button("[Be careful] Nuke Wallet") {
|
|
||||||
sendAction(.nukeWallet)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.navigationBarTitle("Startup")
|
|
||||||
}
|
}
|
||||||
|
.navigationBarTitle("Startup")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -19,25 +19,19 @@ struct OnboardingFooterView: View {
|
||||||
|
|
||||||
if viewStore.isFinalStep {
|
if viewStore.isFinalStep {
|
||||||
Button("onboarding.button.newWallet") {
|
Button("onboarding.button.newWallet") {
|
||||||
withAnimation(.easeInOut(duration: animationDuration)) {
|
viewStore.send(.createNewWallet, animation: .easeInOut(duration: animationDuration))
|
||||||
viewStore.send(.createNewWallet)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
.activeButtonStyle
|
.activeButtonStyle
|
||||||
.onboardingFooterButtonLayout()
|
.onboardingFooterButtonLayout()
|
||||||
|
|
||||||
Button("onboarding.button.importWallet") {
|
Button("onboarding.button.importWallet") {
|
||||||
withAnimation(.easeInOut(duration: animationDuration)) {
|
viewStore.send(.importExistingWallet, animation: .easeInOut(duration: animationDuration))
|
||||||
viewStore.send(.importExistingWallet)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
.secondaryButtonStyle
|
.secondaryButtonStyle
|
||||||
.onboardingFooterButtonLayout()
|
.onboardingFooterButtonLayout()
|
||||||
} else {
|
} else {
|
||||||
Button("Next") {
|
Button("Next") {
|
||||||
withAnimation(.easeInOut(duration: animationDuration)) {
|
viewStore.send(.next, animation: .easeInOut(duration: animationDuration))
|
||||||
viewStore.send(.next)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
.primaryButtonStyle
|
.primaryButtonStyle
|
||||||
.onboardingFooterButtonLayout()
|
.onboardingFooterButtonLayout()
|
||||||
|
|
|
@ -28,22 +28,18 @@ struct OnboardingHeaderView: View {
|
||||||
HStack {
|
HStack {
|
||||||
if !viewStore.isInitialStep {
|
if !viewStore.isInitialStep {
|
||||||
Button("Back") {
|
Button("Back") {
|
||||||
withAnimation(.easeInOut(duration: animationDuration)) {
|
viewStore.send(.back, animation: .easeInOut(duration: animationDuration))
|
||||||
viewStore.send(.back)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
.navigationButtonStyle
|
.navigationButtonStyle
|
||||||
.disabled(viewStore.isInitialStep)
|
|
||||||
.frame(width: 75)
|
.frame(width: 75)
|
||||||
|
.disabled(viewStore.isInitialStep)
|
||||||
}
|
}
|
||||||
|
|
||||||
Spacer()
|
Spacer()
|
||||||
|
|
||||||
if !viewStore.isFinalStep {
|
if !viewStore.isFinalStep {
|
||||||
Button("Skip") {
|
Button("Skip") {
|
||||||
withAnimation(.easeInOut(duration: animationDuration)) {
|
viewStore.send(.skip, animation: .easeInOut(duration: animationDuration))
|
||||||
viewStore.send(.skip)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
.navigationButtonStyle
|
.navigationButtonStyle
|
||||||
.disabled(viewStore.isFinalStep)
|
.disabled(viewStore.isFinalStep)
|
||||||
|
|
Loading…
Reference in New Issue