mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2025-02-02 23:47:30 +01:00
Refresh notifications + Fix user profile header info
This commit is contained in:
parent
ac1b739bf3
commit
3850dab340
@ -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…
x
Reference in New Issue
Block a user