Skip to content

Commit

Permalink
터치영역 버그 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
ghkdemrdus committed Nov 10, 2024
1 parent 359c137 commit 68244ba
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 12 deletions.
4 changes: 2 additions & 2 deletions App/Moda/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.2.0</string>
<string>1.3.0</string>
<key>CFBundleVersion</key>
<string>1.2.0.2</string>
<string>1.3.0.0</string>
<key>GoogleServiceFileName</key>
<string>$(ENV_GOOGLE_INFO_PLIST)</string>
<key>ITSAppUsesNonExemptEncryption</key>
Expand Down
1 change: 1 addition & 0 deletions App/Moda/Sources/Components/PlainButton.swift
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ struct PlainButton<Content: View>: View {
action()
} label: {
label()
.contentTouchable()
}
.buttonStyle(PlainButtonStyle())
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,10 @@ private extension BookmarkAddItemView {
todo.isDone.toggle()
} label: {
todo.isDone
? Image.imgCheckActive.frame(size: 36)
: Image.imgCheckDailyInactive.frame(size: 36)
? Image.imgCheckActive
.frame(size: 36)
: Image.imgCheckDailyInactive
.frame(size: 36)
}
.padding(.bottom, 6)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ struct HomeAppReviewBannerView: View {
} label: {
Image.icAppReviewDelete
.frame(size: 36)
.padding(.leading, 2)
}
.padding(.leading, 2)
}
.padding(.horizontal, 16)
}
Expand Down
4 changes: 2 additions & 2 deletions App/Moda/Sources/Root/Home/HomeCore.swift
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ struct HomeCore: Reducer {

case let .todoDelayed(todo, date):
state.delayDate = date
state.delayTodo = todo
state.delayTodo = .init(content: todo.content, isDone: todo.isDone, category: todo.category)
return .none

default:
Expand All @@ -138,7 +138,7 @@ struct HomeCore: Reducer {

case let .todoDelayed(todo, date):
state.delayDate = date
state.delayTodo = todo
state.delayTodo = .init(content: todo.content, isDone: todo.isDone, category: todo.category)
return .none

default:
Expand Down
2 changes: 2 additions & 0 deletions App/Moda/Sources/Root/Home/HomeView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ private extension HomeView {
send(.dateTapped($0))
}
)
.padding(.top, 8)

ScrollView {
VStack(spacing: 0) {
Expand Down Expand Up @@ -109,6 +110,7 @@ private extension HomeView {
let height = UIScreen.heightExceptSafeArea
- HomeMonthSelectorView.height
- HomeDateSelectorView.height
- 8 // Date Top Padding
- 50 // TabViewHeight
- 24 // Bottom Padding
- 32 // Scroll Vertical Padding
Expand Down
4 changes: 2 additions & 2 deletions App/Moda/Sources/Root/MainTab/MainTabView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -167,9 +167,9 @@ private extension MainTabView {
.renderingMode(.template)
.frame(size: 32)
.foregroundStyle(.white)
.padding(.top, 16 + UIApplication.shared.safeAreaTopHeight)
.padding(.leading, 20)
}
.padding(.top, 16 + UIApplication.shared.safeAreaTopHeight)
.padding(.leading, 20)
}
.ignoresSafeArea()
}
Expand Down
2 changes: 1 addition & 1 deletion App/Moda/Sources/Util/VersionManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public final class VersionManager {
await userData.showAppReviewBanner.update(true)
}

if lastVersion < version {
if lastVersion < "1.2.0" {
await userData.showNotice.update(true)
}
}
Expand Down
4 changes: 2 additions & 2 deletions App/ModaWidget/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
<key>CFBundleName</key>
<string>ModaWidget</string>
<key>CFBundleShortVersionString</key>
<string>1.2.0</string>
<string>1.3.0</string>
<key>CFBundleVersion</key>
<string>1.2.0.2</string>
<string>1.3.0.0</string>
<key>NSExtension</key>
<dict>
<key>NSExtensionPointIdentifier</key>
Expand Down

0 comments on commit 68244ba

Please sign in to comment.