getting decently far in handling the data for friends and all

This commit is contained in:
talksik
2021-12-25 02:29:17 -08:00
parent fb56c79fe8
commit 225048152d
4 changed files with 76 additions and 86 deletions
@@ -56,7 +56,7 @@ struct InnerCircleView: View {
}
.padding()
}
else if self.authSessionStore.getActiveFriendIds().count == 0 && self.authSessionStore.getInboxUsersIds().count == 0 {
else if self.authSessionStore.friendsArr.count == 0 && self.authSessionStore.inboxUsersArr.count == 0 {
VStack(alignment: .center) {
Image("undraw_fall_is_coming_yl-0-x")
.renderingMode(.original)
@@ -102,7 +102,7 @@ struct InnerCircleView: View {
// helper for new users
// TODO: make it back to 1 instead of 10...testing
if self.authSessionStore.getActiveFriendIds().count == 1 && self.selectedFriendIndex == nil { // don't show if bottom metadata showing
if self.authSessionStore.friendsArr.count == 1 && self.selectedFriendIndex == nil { // don't show if bottom metadata showing
ZStack(alignment: .bottomTrailing) {
Color.clear