Use ProgressView instead of ActivityIndicator

This commit is contained in:
Skitty 2022-09-04 18:07:31 -05:00 committed by Brian Dashore
parent d4f2dba279
commit 9a3573a222
2 changed files with 2 additions and 3 deletions

View file

@ -6,7 +6,6 @@
//
import SwiftUI
import SwiftUIX
struct SettingsAppVersionView: View {
@EnvironmentObject var toastModel: ToastViewModel
@ -19,7 +18,7 @@ struct SettingsAppVersionView: View {
var body: some View {
ZStack {
if !loadedReleases {
ActivityIndicator()
ProgressView()
} else if !releases.isEmpty {
List {
Section(header: Text("GitHub links")) {

View file

@ -52,7 +52,7 @@ struct SourcesView: View {
NavView {
ZStack {
if !checkedForSources {
ActivityIndicator()
ProgressView()
} else if sources.isEmpty && sourceManager.availableSources.isEmpty {
VStack {
Text("No Sources")