Update version
This commit is contained in:
@@ -17,6 +17,35 @@ struct LoadingView: View {
|
||||
}
|
||||
}
|
||||
|
||||
struct AppLaunchLoadingView: View {
|
||||
var messageKey: LocalizedStringKey = "loading"
|
||||
|
||||
var body: some View {
|
||||
VStack(spacing: 20) {
|
||||
Spacer()
|
||||
|
||||
Image("BrandMark")
|
||||
.resizable()
|
||||
.scaledToFit()
|
||||
.frame(width: 140, height: 140)
|
||||
.padding(16)
|
||||
.background(Color.appPrimary.opacity(0.08))
|
||||
.cornerRadius(28)
|
||||
|
||||
ProgressView()
|
||||
.scaleEffect(1.2)
|
||||
|
||||
Text(messageKey)
|
||||
.font(.subheadline)
|
||||
.foregroundColor(.secondary)
|
||||
|
||||
Spacer()
|
||||
}
|
||||
.frame(maxWidth: .infinity, maxHeight: .infinity)
|
||||
.background(AppBackground())
|
||||
}
|
||||
}
|
||||
|
||||
// MARK: - Skeleton Loading
|
||||
|
||||
struct SkeletonView: View {
|
||||
|
||||
Reference in New Issue
Block a user