adding stuff
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user