mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-11-29 03:31:02 +00:00
Refresh notifications + Fix user profile header info
This commit is contained in:
parent
ac1b739bf3
commit
3850dab340
2 changed files with 4 additions and 1 deletions
|
@ -53,7 +53,7 @@ struct AccountDetailHeaderView: View {
|
|||
Spacer()
|
||||
Group {
|
||||
makeCustomInfoLabel(title: "Posts", count: account.statusesCount)
|
||||
makeCustomInfoLabel(title: "Following", count: account.followersCount)
|
||||
makeCustomInfoLabel(title: "Following", count: account.followingCount)
|
||||
makeCustomInfoLabel(title: "Followers", count: account.followersCount)
|
||||
}.offset(y: 20)
|
||||
}
|
||||
|
|
|
@ -50,6 +50,9 @@ public struct NotificationsListView: View {
|
|||
await viewModel.fetchNotifications()
|
||||
}
|
||||
}
|
||||
.refreshable {
|
||||
await viewModel.fetchNotifications()
|
||||
}
|
||||
.navigationTitle(Text("Notifications"))
|
||||
.navigationBarTitleDisplayMode(.inline)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue