스플래시 변경
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"filename" : "splash_bg.jpg",
|
||||
"filename" : "splash_bg.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
}
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 1.6 MiB |
BIN
SodaLive/Resources/Assets.xcassets/splash/splash_bg.imageset/splash_bg.png
vendored
Normal file
BIN
SodaLive/Resources/Assets.xcassets/splash/splash_bg.imageset/splash_bg.png
vendored
Normal file
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"
|
||||
},
|
||||
{
|
||||
"filename" : "splash_text.png",
|
||||
"filename" : "splash_text1.png",
|
||||
"idiom" : "universal",
|
||||
"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()
|
||||
.edgesIgnoringSafeArea(.all)
|
||||
|
||||
HStack(spacing: 0) {
|
||||
VStack(spacing: 0) {
|
||||
Image("splash_text1")
|
||||
.padding(.top, screenSize().height * 360 / 2337)
|
||||
|
||||
Spacer()
|
||||
|
||||
Image("splash_text")
|
||||
.padding(.top, 94)
|
||||
.padding(.trailing, 38)
|
||||
Image("splash_text2")
|
||||
.padding(.bottom, screenSize().height * 240 / 2337)
|
||||
}
|
||||
|
||||
if isShowUpdatePopup {
|
||||
@@ -146,8 +148,6 @@ struct SplashView: View {
|
||||
}
|
||||
}
|
||||
|
||||
struct SplashView_Previews: PreviewProvider {
|
||||
static var previews: some View {
|
||||
SplashView()
|
||||
}
|
||||
#Preview {
|
||||
SplashView()
|
||||
}
|
||||
|
Reference in New Issue
Block a user