Skip to content

Commit

Permalink
[Feat/#243] ILSANGApp 리팩토링
Browse files Browse the repository at this point in the history
  • Loading branch information
JINi0S committed Feb 6, 2025
1 parent 17d52b4 commit ab9f1fd
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions ILSANG/Sources/Views/ILSANGApp.swift
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ struct ILSANGApp: App {
LoginView(vm: LoginViewModel())
} else {
MainTabView()
.fullScreenCover(isPresented: $isTutorialVisible, content: {
.fullScreenCover(isPresented: $isTutorialVisible) {
TutorialView()
})
}
}
}
}
.alert("업데이트 알림", isPresented: $needUpdate, actions: {
Button("업데이트") { AppVersionManager.shared.openAppStore() }
Expand Down Expand Up @@ -88,8 +88,10 @@ struct ILSANGApp: App {
appearance.backgroundColor = UIColor(.white)
appearance.shadowColor = UIColor(.grayDD)
appearance.stackedItemPositioning = .centered
UITabBar.appearance().standardAppearance = appearance
UITabBar.appearance().scrollEdgeAppearance = appearance

let tabBar = UITabBar.appearance()
tabBar.standardAppearance = appearance
tabBar.scrollEdgeAppearance = appearance

// 틴트 컬러 적용
UIView.appearance().tintColor = UIColor(named: "AccentColor") // 파란색으로 버튼이 보여지는 문제 방지 (Alert에서 문제 발생)
Expand Down

0 comments on commit ab9f1fd

Please sign in to comment.