diff options
Diffstat (limited to 'Hotline/macOS/NewsView.swift')
| -rw-r--r-- | Hotline/macOS/NewsView.swift | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Hotline/macOS/NewsView.swift b/Hotline/macOS/NewsView.swift index 6f24193..8e10b19 100644 --- a/Hotline/macOS/NewsView.swift +++ b/Hotline/macOS/NewsView.swift @@ -13,7 +13,7 @@ struct NewsView: View { @State private var splitFraction = FractionHolder.usingUserDefaults(0.25, key: "News Split Fraction") @State private var editorOpen: Bool = false @State private var replyOpen: Bool = false - @State private var loading: Bool = true + @State private var loading: Bool = false var body: some View { Group { @@ -65,6 +65,7 @@ struct NewsView: View { } .task { if !model.newsLoaded { + loading = true await model.getNewsList() loading = false } |