adding stuff

This commit is contained in:
talksik
2021-12-29 18:24:16 -08:00
parent dccba8389a
commit 54c5cf6e20
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -26,6 +26,7 @@ struct User: Identifiable, Codable {
var userStatus: UserStatus?
var lastUpdatedStatusTimestamp: Date?
@ServerTimestamp var lastLoggedInTimestamp: Date?
@ServerTimestamp var createdTimestamp: Date?
@@ -135,7 +135,7 @@ struct ListContactRow: View {
secondaryButton: .default(Text("Confirm")) {
print("adding contact to circle")
// call method in vm to get it done, then navigate to the circle
if self.authSessionStore.friendsArr.count < 10 {
if self.authSessionStore.friendsArr.count < 10 || self.authSessionStore.user?.phoneNumber == "+19499230445" {
self.contactsVM.addOrActivateFriendToCircle(userId: self.authSessionStore.user!.id!, friendId: (contact.user!.id)!) {res in
print(res)