Update CircleGridView.swift
This commit is contained in:
@@ -300,11 +300,11 @@ struct CircleGridView: View {
|
|||||||
.frame(height: Self.size)
|
.frame(height: Self.size)
|
||||||
.onTapGesture {
|
.onTapGesture {
|
||||||
// action to open alert to add this person to circle or reject
|
// action to open alert to add this person to circle or reject
|
||||||
let inboxFriendName = self.authSessionStore.relevantUsersDict[inboxUserId]?.nickname ?? ""
|
let inboxFriendName: String = self.authSessionStore.relevantUsersDict[inboxUserId]?.nickname ?? ""
|
||||||
let inboxFriendNumber = self.authSessionStore.relevantUsersDict[inboxUserId]?.phoneNumber
|
let inboxFriendNumber: String = self.authSessionStore.relevantUsersDict[inboxUserId]?.phoneNumber ?? ""
|
||||||
|
|
||||||
self.alertText = "🌴Add to your circle?"
|
self.alertText = "🌴Add \(inboxFriendName) to your circle?"
|
||||||
self.alertSubtext = "\(inboxFriendName ?? "") started a convo with you... \n \(inboxFriendNumber ?? "") \n Remember: you have \(10 - activeFriends.count) spots left!"
|
self.alertSubtext = "\(inboxFriendName) started a convo with you... \n \(inboxFriendNumber ?? "") \n Remember: you have \(10 - activeFriends.count) spots left!"
|
||||||
self.alertActive.toggle()
|
self.alertActive.toggle()
|
||||||
}
|
}
|
||||||
.animation(Animation.spring())
|
.animation(Animation.spring())
|
||||||
|
|||||||
Reference in New Issue
Block a user