Skip to content

Commit 4b4db25

Browse files
committed
🎨 :: [#33] GPleApp - SplashView로 변경
1 parent b3b5795 commit 4b4db25

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Projects/App/Sources/Application/GPleApp.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import SwiftUI
44
struct GPleApp: App {
55
var body: some Scene {
66
WindowGroup {
7-
MainView(postViewModel: PostViewModel())
7+
SplashView()
88
}
99
}
1010
}

Projects/App/Sources/Feature/SplashFeature/Sources/SplashView.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ struct SplashView: View {
77
ZStack {
88
if isActive {
99
MainView(viewModel: MainViewModel(), postViewModel: PostViewModel())
10-
.transition(.opacity) // 페이드 효과
10+
.transition(.opacity)
1111
} else {
1212
ZStack {
1313
GPleAsset.Color.back.swiftUIColor
@@ -17,6 +17,7 @@ struct SplashView: View {
1717
GPleAsset.Assets.gpleBigLogo.swiftUIImage
1818
.resizable()
1919
.frame(width: 160, height: 70)
20+
.padding(.bottom, 40)
2021
}
2122
}
2223
.transition(.opacity)

0 commit comments

Comments
 (0)