Splash screen above logo

This commit is contained in:
Christophe Deschamps 2026-04-13 15:26:46 +02:00
parent 6c1a1a94f7
commit ff6dbf87b5

View file

@ -27,17 +27,15 @@ struct SplashScreen: View {
Color.white
.ignoresSafeArea()
VStack(spacing: 20) {
Image("linphone")
.resizable()
.renderingMode(.template)
.aspectRatio(contentMode: .fit)
.frame(width: 240, height: 128)
.foregroundColor(ThemeManager.shared.currentTheme.main500)
Image("linphone")
.resizable()
.renderingMode(.template)
.aspectRatio(contentMode: .fit)
.frame(width: 240, height: 128)
.foregroundColor(ThemeManager.shared.currentTheme.main500)
if showSpinner {
ProgressView()
}
if showSpinner {
ProgressView()
}
}
.frame(maxWidth: .infinity, maxHeight: .infinity)