diff --git a/Projects/Feature/ProfileSetup/Project.swift b/Projects/Feature/ProfileSetup/Project.swift index 6a0b52d9..c358fd31 100644 --- a/Projects/Feature/ProfileSetup/Project.swift +++ b/Projects/Feature/ProfileSetup/Project.swift @@ -9,7 +9,8 @@ let project = Project.makeModule( interface: .ProfileSetup, factory: .init( dependencies: [ - .domain + .domain, + .feature(interface: .BaseWebView) ] ) ), diff --git a/Projects/Feature/SandBeach/Interface/Sources/SandBeach/SandBeachFeatureInterface.swift b/Projects/Feature/SandBeach/Interface/Sources/SandBeach/SandBeachFeatureInterface.swift index e9e8f338..76894279 100644 --- a/Projects/Feature/SandBeach/Interface/Sources/SandBeach/SandBeachFeatureInterface.swift +++ b/Projects/Feature/SandBeach/Interface/Sources/SandBeach/SandBeachFeatureInterface.swift @@ -123,26 +123,23 @@ extension SandBeachFeature { return } - if userProfileStatus == .doneProfileImage { - await send(.userStateFetchCompleted( - userState: .noBottle(time: nextBottleLeftHours ?? 0), - isDisableButton: false)) - return - } - - if newBottlesCount > 0 { + if userProfileStatus == .doneProfileImage && newBottlesCount > 0 { await send(.userStateFetchCompleted( userState: .hasNewBottle(bottleCount: newBottlesCount), isDisableButton: false)) return } - if activeBottlesCount > 0 { + if userProfileStatus == .doneProfileImage && activeBottlesCount > 0 { await send(.userStateFetchCompleted( userState: .hasActiveBottle(bottleCount: activeBottlesCount), isDisableButton: false)) return } + + await send(.userStateFetchCompleted( + userState: .noBottle(time: nextBottleLeftHours ?? 0), + isDisableButton: false)) } catch: { error, send in // TODO: 에러 핸들링 Log.error(error) diff --git a/Tuist/ProjectDescriptionHelpers/InfoPlist+Templates.swift b/Tuist/ProjectDescriptionHelpers/InfoPlist+Templates.swift index 3ad16871..3258a57d 100644 --- a/Tuist/ProjectDescriptionHelpers/InfoPlist+Templates.swift +++ b/Tuist/ProjectDescriptionHelpers/InfoPlist+Templates.swift @@ -11,7 +11,7 @@ public extension InfoPlist { static var app: InfoPlist { return .extendingDefault(with: [ "CFBundleShortVersionString": "1.0.10", - "CFBundleVersion": "34", + "CFBundleVersion": "37", "UIUserInterfaceStyle": "Light", "CFBundleName": "보틀", "UILaunchScreen": [ @@ -46,7 +46,7 @@ public extension InfoPlist { static var example: InfoPlist { return .extendingDefault(with: [ "CFBundleShortVersionString": "1.0.10", - "CFBundleVersion": "34", + "CFBundleVersion": "37", "UIUserInterfaceStyle": "Light", "UILaunchScreen": [:], "UISupportedInterfaceOrientations": [