Schedule-ICTIS/Schedule ICTIS/LoadingView.swift
Vladimir Dubovik bb268cc6ad Commit
2025-02-19 12:43:52 +03:00

26 lines
495 B
Swift

//
// LoadingView.swift
// Schedule ICTIS
//
// Created by Mironov Egor on 11.12.2024.
//
import SwiftUI
struct LoadingView: View {
@Binding var isLoading: Bool
var body: some View {
ZStack {
Color("background")
.ignoresSafeArea()
ProgressView()
.progressViewStyle(CircularProgressViewStyle(tint: .secondary))
.scaleEffect(1)
}
}
}
#Preview {
LoadingView(isLoading: .constant(true))
}