스플래시 변경
This commit is contained in:
parent
9a461f14ad
commit
a92e42b718
|
@ -9,7 +9,7 @@
|
||||||
"scale" : "2x"
|
"scale" : "2x"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"filename" : "splash_bg.jpg",
|
"filename" : "splash_bg.png",
|
||||||
"idiom" : "universal",
|
"idiom" : "universal",
|
||||||
"scale" : "3x"
|
"scale" : "3x"
|
||||||
}
|
}
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 1.6 MiB |
Binary file not shown.
After Width: | Height: | Size: 3.1 MiB |
Binary file not shown.
Before Width: | Height: | Size: 14 KiB |
|
@ -9,7 +9,7 @@
|
||||||
"scale" : "2x"
|
"scale" : "2x"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"filename" : "splash_text.png",
|
"filename" : "splash_text1.png",
|
||||||
"idiom" : "universal",
|
"idiom" : "universal",
|
||||||
"scale" : "3x"
|
"scale" : "3x"
|
||||||
}
|
}
|
BIN
SodaLive/Resources/Assets.xcassets/splash/splash_text1.imageset/splash_text1.png
vendored
Normal file
BIN
SodaLive/Resources/Assets.xcassets/splash/splash_text1.imageset/splash_text1.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 7.9 KiB |
21
SodaLive/Resources/Assets.xcassets/splash/splash_text2.imageset/Contents.json
vendored
Normal file
21
SodaLive/Resources/Assets.xcassets/splash/splash_text2.imageset/Contents.json
vendored
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
{
|
||||||
|
"images" : [
|
||||||
|
{
|
||||||
|
"idiom" : "universal",
|
||||||
|
"scale" : "1x"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"idiom" : "universal",
|
||||||
|
"scale" : "2x"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename" : "splash_text2.png",
|
||||||
|
"idiom" : "universal",
|
||||||
|
"scale" : "3x"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"info" : {
|
||||||
|
"author" : "xcode",
|
||||||
|
"version" : 1
|
||||||
|
}
|
||||||
|
}
|
BIN
SodaLive/Resources/Assets.xcassets/splash/splash_text2.imageset/splash_text2.png
vendored
Normal file
BIN
SodaLive/Resources/Assets.xcassets/splash/splash_text2.imageset/splash_text2.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 8.0 KiB |
|
@ -21,12 +21,14 @@ struct SplashView: View {
|
||||||
.scaledToFill()
|
.scaledToFill()
|
||||||
.edgesIgnoringSafeArea(.all)
|
.edgesIgnoringSafeArea(.all)
|
||||||
|
|
||||||
HStack(spacing: 0) {
|
VStack(spacing: 0) {
|
||||||
|
Image("splash_text1")
|
||||||
|
.padding(.top, screenSize().height * 360 / 2337)
|
||||||
|
|
||||||
Spacer()
|
Spacer()
|
||||||
|
|
||||||
Image("splash_text")
|
Image("splash_text2")
|
||||||
.padding(.top, 94)
|
.padding(.bottom, screenSize().height * 240 / 2337)
|
||||||
.padding(.trailing, 38)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if isShowUpdatePopup {
|
if isShowUpdatePopup {
|
||||||
|
@ -146,8 +148,6 @@ struct SplashView: View {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
struct SplashView_Previews: PreviewProvider {
|
#Preview {
|
||||||
static var previews: some View {
|
|
||||||
SplashView()
|
SplashView()
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue