Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[2.0.0] 이상한 네이밍 수정 #193

Merged
merged 1 commit into from
Mar 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion KuringApp/KuringApp/KuringApp.swift
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ struct KuringApp: App {
.kuringLink(
onRequest: { },
onCompletion: { result in
showsOnboarding = !commons.isCompleteOnboarding()
showsOnboarding = !commons.isOnboardingCompleted()
if !showsOnboarding {
completesLink = true
}
Expand Down
4 changes: 2 additions & 2 deletions package-kuring/Sources/Caches/Dependency/Commons.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public struct Commons {
/// 현재 앱 버전
public var appVersion: () -> String
/// 온보딩을 완료했는지 여부
public var isCompleteOnboarding: () -> Bool
public var isOnboardingCompleted: () -> Bool
/// 온보딩을 완료한 상태로 변경
public var completeOnboarding: () -> Void

Expand Down Expand Up @@ -49,7 +49,7 @@ extension Commons {
let appVersion = Bundle.main.infoDictionary?["CFBundleShortVersionString"]
return appVersion as? String ?? "0.0.0"

}, isCompleteOnboarding: {
}, isOnboardingCompleted: {
Self.isOnboardingCompleted

}, completeOnboarding: {
Expand Down