스플래시 문구 변경
This commit is contained in:
parent
6a2671dad0
commit
b4c4b534b4
Binary file not shown.
Before Width: | Height: | Size: 8.8 KiB After Width: | Height: | Size: 17 KiB |
Binary file not shown.
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 10 KiB |
|
@ -24,7 +24,7 @@ struct SplashView: View {
|
||||||
|
|
||||||
VStack(spacing: 0) {
|
VStack(spacing: 0) {
|
||||||
Image("splash_text1")
|
Image("splash_text1")
|
||||||
.padding(.top, screenSize().height * 360 / 2337)
|
.padding(.top, screenSize().height * 150 / 2337)
|
||||||
|
|
||||||
Spacer()
|
Spacer()
|
||||||
|
|
||||||
|
@ -70,7 +70,7 @@ struct SplashView: View {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.onAppear {
|
.onAppear {
|
||||||
DispatchQueue.main.asyncAfter(deadline: .now() + 0.7) {
|
DispatchQueue.main.asyncAfter(deadline: .now() + 0.5) {
|
||||||
AppState.shared.isChangeAdultContentVisible = false
|
AppState.shared.isChangeAdultContentVisible = false
|
||||||
}
|
}
|
||||||
fetchLastestVersion()
|
fetchLastestVersion()
|
||||||
|
@ -94,7 +94,7 @@ struct SplashView: View {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
DispatchQueue.main.asyncAfter(deadline: .now() + 1.0) {
|
DispatchQueue.main.asyncAfter(deadline: .now() + 0.7) {
|
||||||
withAnimation {
|
withAnimation {
|
||||||
if AppState.shared.pushRoomId > 0 {
|
if AppState.shared.pushRoomId > 0 {
|
||||||
liveViewModel.enterLiveRoom(roomId: AppState.shared.pushRoomId)
|
liveViewModel.enterLiveRoom(roomId: AppState.shared.pushRoomId)
|
||||||
|
@ -131,7 +131,7 @@ struct SplashView: View {
|
||||||
} else if latestMajor == major && latestMinor == minor && latestPatch > patch {
|
} else if latestMajor == major && latestMinor == minor && latestPatch > patch {
|
||||||
self.isShowUpdatePopup = true
|
self.isShowUpdatePopup = true
|
||||||
} else {
|
} else {
|
||||||
DispatchQueue.main.asyncAfter(deadline: .now() + 1.0) {
|
DispatchQueue.main.asyncAfter(deadline: .now() + 0.7) {
|
||||||
withAnimation {
|
withAnimation {
|
||||||
if AppState.shared.pushRoomId > 0 {
|
if AppState.shared.pushRoomId > 0 {
|
||||||
liveViewModel.enterLiveRoom(roomId: AppState.shared.pushRoomId)
|
liveViewModel.enterLiveRoom(roomId: AppState.shared.pushRoomId)
|
||||||
|
@ -146,7 +146,7 @@ struct SplashView: View {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
DispatchQueue.main.asyncAfter(deadline: .now() + 1.0) {
|
DispatchQueue.main.asyncAfter(deadline: .now() + 0.7) {
|
||||||
withAnimation {
|
withAnimation {
|
||||||
if AppState.shared.pushRoomId > 0 {
|
if AppState.shared.pushRoomId > 0 {
|
||||||
liveViewModel.enterLiveRoom(roomId: AppState.shared.pushRoomId)
|
liveViewModel.enterLiveRoom(roomId: AppState.shared.pushRoomId)
|
||||||
|
|
Loading…
Reference in New Issue