eose loading spinners

Changelog-Added: Add [NIP-15](https://github.com/nostr-protocol/nips/blob/master/15.md) loading spinners
Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
William Casarin
2022-06-15 14:43:22 -07:00
parent 6de7d7ae58
commit dd7d9a4a66
8 changed files with 57 additions and 26 deletions

View File

@@ -85,7 +85,7 @@ struct ContentView: View {
var PostingTimelineView: some View {
ZStack {
if let damus = self.damus_state {
TimelineView(events: $home.events, damus: damus)
TimelineView(events: $home.events, loading: $home.loading, damus: damus)
}
if privkey != nil {
PostButtonContainer {
@@ -114,7 +114,7 @@ struct ContentView: View {
PostingTimelineView
case .notifications:
TimelineView(events: $home.notifications, damus: damus)
TimelineView(events: $home.notifications, loading: $home.loading, damus: damus)
.navigationTitle("Notifications")
case .none: