Skip to content
Snippets Groups Projects
Commit 7cebec16 authored by Dariusz Rybicki's avatar Dariusz Rybicki
Browse files

Merge branch 'development' into feature/messenger-example-request-handling

parents db42327e 63c81198
No related branches found
No related tags found
2 merge requests!102Release 1.0.0,!76Messenger example - auth requests handling
Showing
with 19 additions and 19 deletions
...@@ -35,7 +35,7 @@ let package = Package( ...@@ -35,7 +35,7 @@ let package = Package(
), ),
.package( .package(
url: "https://github.com/pointfreeco/swift-composable-architecture.git", url: "https://github.com/pointfreeco/swift-composable-architecture.git",
.upToNextMajor(from: "0.39.0") .upToNextMajor(from: "0.40.0")
), ),
.package( .package(
url: "https://git.xx.network/elixxir/client-ios-db.git", url: "https://git.xx.network/elixxir/client-ios-db.git",
...@@ -43,7 +43,7 @@ let package = Package( ...@@ -43,7 +43,7 @@ let package = Package(
), ),
.package( .package(
url: "https://github.com/darrarski/swift-composable-presentation.git", url: "https://github.com/darrarski/swift-composable-presentation.git",
.upToNextMajor(from: "0.5.2") .upToNextMajor(from: "0.5.3")
), ),
.package( .package(
url: "https://github.com/pointfreeco/xctest-dynamic-overlay.git", url: "https://github.com/pointfreeco/xctest-dynamic-overlay.git",
......
...@@ -26,7 +26,7 @@ struct AppView: View { ...@@ -26,7 +26,7 @@ struct AppView: View {
} }
var body: some View { var body: some View {
WithViewStore(store.scope(state: ViewState.init)) { viewStore in WithViewStore(store, observe: ViewState.init) { viewStore in
ZStack { ZStack {
switch viewStore.state { switch viewStore.state {
case .loading: case .loading:
......
...@@ -36,7 +36,7 @@ public struct ContactView: View { ...@@ -36,7 +36,7 @@ public struct ContactView: View {
} }
public var body: some View { public var body: some View {
WithViewStore(store.scope(state: ViewState.init)) { viewStore in WithViewStore(store, observe: ViewState.init) { viewStore in
Form { Form {
if viewStore.xxContactIsSet { if viewStore.xxContactIsSet {
Section { Section {
......
...@@ -23,7 +23,7 @@ public struct ContactsView: View { ...@@ -23,7 +23,7 @@ public struct ContactsView: View {
} }
public var body: some View { public var body: some View {
WithViewStore(store.scope(state: ViewState.init)) { viewStore in WithViewStore(store, observe: ViewState.init) { viewStore in
Form { Form {
ForEach(viewStore.contacts) { contact in ForEach(viewStore.contacts) { contact in
if contact.id == viewStore.myId { if contact.id == viewStore.myId {
......
...@@ -28,7 +28,7 @@ public struct HomeView: View { ...@@ -28,7 +28,7 @@ public struct HomeView: View {
} }
public var body: some View { public var body: some View {
WithViewStore(store.scope(state: ViewState.init)) { viewStore in WithViewStore(store, observe: ViewState.init) { viewStore in
NavigationView { NavigationView {
Form { Form {
Section { Section {
......
...@@ -24,7 +24,7 @@ public struct RegisterView: View { ...@@ -24,7 +24,7 @@ public struct RegisterView: View {
} }
public var body: some View { public var body: some View {
WithViewStore(store.scope(state: ViewState.init)) { viewStore in WithViewStore(store, observe: ViewState.init) { viewStore in
NavigationView { NavigationView {
Form { Form {
Section { Section {
......
...@@ -13,7 +13,7 @@ public struct RestoreView: View { ...@@ -13,7 +13,7 @@ public struct RestoreView: View {
} }
public var body: some View { public var body: some View {
WithViewStore(store.scope(state: ViewState.init)) { viewStore in WithViewStore(store, observe: ViewState.init) { viewStore in
NavigationView { NavigationView {
Form { Form {
Section { Section {
......
...@@ -39,7 +39,7 @@ public struct SendRequestView: View { ...@@ -39,7 +39,7 @@ public struct SendRequestView: View {
} }
public var body: some View { public var body: some View {
WithViewStore(store.scope(state: ViewState.init)) { viewStore in WithViewStore(store, observe: ViewState.init) { viewStore in
Form { Form {
Section { Section {
Button { Button {
......
...@@ -29,7 +29,7 @@ public struct UserSearchView: View { ...@@ -29,7 +29,7 @@ public struct UserSearchView: View {
} }
public var body: some View { public var body: some View {
WithViewStore(store.scope(state: ViewState.init)) { viewStore in WithViewStore(store, observe: ViewState.init) { viewStore in
Form { Form {
Section { Section {
TextField( TextField(
......
...@@ -17,7 +17,7 @@ public struct WelcomeView: View { ...@@ -17,7 +17,7 @@ public struct WelcomeView: View {
} }
public var body: some View { public var body: some View {
WithViewStore(store.scope(state: ViewState.init)) { viewStore in WithViewStore(store, observe: ViewState.init) { viewStore in
NavigationView { NavigationView {
Form { Form {
Section { Section {
......
...@@ -14,8 +14,8 @@ ...@@ -14,8 +14,8 @@
"kind" : "remoteSourceControl", "kind" : "remoteSourceControl",
"location" : "https://github.com/pointfreeco/combine-schedulers", "location" : "https://github.com/pointfreeco/combine-schedulers",
"state" : { "state" : {
"revision" : "9e42b4b0453da417a44daa17174103e7d1c5be07", "revision" : "11973960af9c5426f22d337628cec4342c5e660d",
"version" : "0.7.3" "version" : "0.7.4"
} }
}, },
{ {
...@@ -23,8 +23,8 @@ ...@@ -23,8 +23,8 @@
"kind" : "remoteSourceControl", "kind" : "remoteSourceControl",
"location" : "https://github.com/groue/GRDB.swift", "location" : "https://github.com/groue/GRDB.swift",
"state" : { "state" : {
"revision" : "23f4254ae36fa19aecd73047c0577a9f49850d1c", "revision" : "dd7e7f39e8e4d7a22d258d9809a882f914690b01",
"version" : "5.26.0" "version" : "5.26.1"
} }
}, },
{ {
...@@ -50,8 +50,8 @@ ...@@ -50,8 +50,8 @@
"kind" : "remoteSourceControl", "kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-collections", "location" : "https://github.com/apple/swift-collections",
"state" : { "state" : {
"revision" : "48254824bb4248676bf7ce56014ff57b142b77eb", "revision" : "f504716c27d2e5d4144fa4794b12129301d17729",
"version" : "1.0.2" "version" : "1.0.3"
} }
}, },
{ {
...@@ -59,8 +59,8 @@ ...@@ -59,8 +59,8 @@
"kind" : "remoteSourceControl", "kind" : "remoteSourceControl",
"location" : "https://github.com/pointfreeco/swift-composable-architecture.git", "location" : "https://github.com/pointfreeco/swift-composable-architecture.git",
"state" : { "state" : {
"revision" : "a518935116b2bada7234f47073159b433d432af1", "revision" : "5b78fbcb0583568392762b15a262b3106cfb5185",
"version" : "0.39.1" "version" : "0.40.0"
} }
}, },
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment