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

Release/1.0.10 -> develop #362

Merged
merged 9 commits into from
Nov 11, 2024
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