diff --git a/Examples/xx-messenger/Sources/ContactFeature/ContactView.swift b/Examples/xx-messenger/Sources/ContactFeature/ContactView.swift index a35e2074d132095047bb62da9478754114dca1fb..9869169327924ffcf719f88e0fd71feee16493e8 100644 --- a/Examples/xx-messenger/Sources/ContactFeature/ContactView.swift +++ b/Examples/xx-messenger/Sources/ContactFeature/ContactView.swift @@ -79,10 +79,14 @@ public struct ContactView: View { Button { viewStore.send(.importFactsTapped) } label: { - if viewStore.dbContact == nil { - Text("Save contact") - } else { - Text("Update contact") + HStack { + if viewStore.dbContact == nil { + Text("Save contact") + } else { + Text("Update contact") + } + Spacer() + Image(systemName: "arrow.down") } } } header: { diff --git a/Examples/xx-messenger/Sources/UserSearchFeature/UserSearchView.swift b/Examples/xx-messenger/Sources/UserSearchFeature/UserSearchView.swift index 9f76ed0a2abac0394c1d8cd17e11a6d035108aa2..c694411972c9227955d33a1a3b0776a829d16546 100644 --- a/Examples/xx-messenger/Sources/UserSearchFeature/UserSearchView.swift +++ b/Examples/xx-messenger/Sources/UserSearchFeature/UserSearchView.swift @@ -98,19 +98,19 @@ public struct UserSearchView: View { VStack { if result.hasFacts { if let username = result.username { - Text(username) + Label(username, systemImage: "person") } if let email = result.email { - Text(email) + Label(email, systemImage: "envelope") } if let phone = result.phone { - Text(phone) + Label(phone, systemImage: "phone") } } else { - Image(systemName: "questionmark") - .frame(maxWidth: .infinity) + Label("No facts", systemImage: "questionmark") } } + .tint(Color.primary) Spacer() Image(systemName: "chevron.forward") }