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 Color.white
.ignoresSafeArea() .ignoresSafeArea()
VStack(spacing: 20) { Image("linphone")
Image("linphone") .resizable()
.resizable() .renderingMode(.template)
.renderingMode(.template) .aspectRatio(contentMode: .fit)
.aspectRatio(contentMode: .fit) .frame(width: 240, height: 128)
.frame(width: 240, height: 128) .foregroundColor(ThemeManager.shared.currentTheme.main500)
.foregroundColor(ThemeManager.shared.currentTheme.main500)
if showSpinner { if showSpinner {
ProgressView() ProgressView()
}
} }
} }
.frame(maxWidth: .infinity, maxHeight: .infinity) .frame(maxWidth: .infinity, maxHeight: .infinity)