Skip to content
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
3 changes: 2 additions & 1 deletion Projects/Feature/ProfileSetup/Project.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ let project = Project.makeModule(
interface: .ProfileSetup,
factory: .init(
dependencies: [
.domain
.domain,
.feature(interface: .BaseWebView)
]
)
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions Tuist/ProjectDescriptionHelpers/InfoPlist+Templates.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down Expand Up @@ -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": [
Expand Down