mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-04-17 20:08:31 +00:00
Splash screen above logo
This commit is contained in:
parent
6c1a1a94f7
commit
ff6dbf87b5
1 changed files with 8 additions and 10 deletions
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue