Skip to content

Commit

Permalink
UI 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
ghkdemrdus committed Oct 6, 2024
1 parent 81800c8 commit c2f9894
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 7 deletions.
2 changes: 1 addition & 1 deletion App/Moda/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<key>CFBundleShortVersionString</key>
<string>1.0.4</string>
<key>CFBundleVersion</key>
<string>1.0.4.1</string>
<string>1.0.4.3</string>
<key>UIAppFonts</key>
<array>
<string>SpoqaHanSansNeo-Bold.otf</string>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ private extension HomeDailyTodoView {
.lineLimit(2)
.multilineTextAlignment(.center)
}
.padding(.vertical, 66)
.padding(.top, 56)
.padding(.bottom, 30)
} else {
VStack(spacing: 0) {
ForEach(todos, id: \.id) { todo in
Expand Down
2 changes: 1 addition & 1 deletion App/ModaWidget/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundleShortVersionString</key>
<string>1.0.4</string>
<key>CFBundleVersion</key>
<string>1.0.4.1</string>
<string>1.0.4.3</string>
<key>NSExtension</key>
<dict>
<key>NSExtensionPointIdentifier</key>
Expand Down
5 changes: 4 additions & 1 deletion App/ModaWidget/Sources/Daily/ModaDailyWidgetView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ struct ModaDailyWidgetView : View {
@Query var dailyTodosList: [DailyTodos]

var body: some View {
HStack(alignment: .top, spacing: 24) {
HStack(alignment: .top, spacing: 0) {
VStack(alignment: .leading) {
Text("데일리\n투두")
.font(.spoqaHans(size: 19, weight: .bold))
Expand Down Expand Up @@ -45,7 +45,9 @@ struct ModaDailyWidgetView : View {

Spacer()
}
.padding(.leading, 12)
} else {
Spacer()
VStack(spacing: 8) {
if isAllDone {
Image.imgWidgetMonthlyDone
Expand All @@ -60,6 +62,7 @@ struct ModaDailyWidgetView : View {
.multilineTextAlignment(.center)
.padding(.bottom, 4)
}
Spacer()
}

Spacer()
Expand Down
5 changes: 4 additions & 1 deletion App/ModaWidget/Sources/Monthly/ModaMonthlyWidgetView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ struct ModaMonthlyWidgetView : View {
@Query var monthlyTodosList: [MonthlyTodos]

var body: some View {
HStack(alignment: .top, spacing: 12) {
HStack(alignment: .top, spacing: 0) {
VStack(alignment: .leading) {
Text("먼쓸리\n투두")
.font(.spoqaHans(size: 19, weight: .bold))
Expand Down Expand Up @@ -45,7 +45,9 @@ struct ModaMonthlyWidgetView : View {

Spacer()
}
.padding(.leading, 12)
} else {
Spacer()
VStack(spacing: 8) {
if isAllDone {
Image.imgWidgetMonthlyDone
Expand All @@ -60,6 +62,7 @@ struct ModaMonthlyWidgetView : View {
.multilineTextAlignment(.center)
.padding(.bottom, 4)
}
Spacer()
}

Spacer()
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c2f9894

Please sign in to comment.