Skip to content

Commit

Permalink
Merge pull request #89 from manito-project/fix/#88
Browse files Browse the repository at this point in the history
[Fix] #88 - RoomCell UI 수정
  • Loading branch information
meltsplit authored Nov 2, 2024
2 parents 35a2cb4 + 728e8e0 commit c7ce785
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions SantaManito-iOS/SantaManito-iOS/Feature/Home/HomeView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -257,15 +257,19 @@ fileprivate struct HomeRoomCell: View {
HStack { Spacer() }
Spacer()


if roomInfo.state != .deleted {
Text((roomInfo.me.manitto?.username ?? "-") + "의 산타")
if roomInfo.state == .completed || roomInfo.state == .inProgress {
Text(roomInfo.state == .notStarted
? ""
: (roomInfo.me.manitto?.username ?? "-") + "의 산타")
.font(.medium_14)
.foregroundStyle(.smBlack)
.lineLimit(1)
.frame(height: 14)
.padding(.top, 22)

}

if roomInfo.state != .deleted {
HomeRoomStateChip(state: roomInfo.state, remainingDays: roomInfo.remainingDays)
.padding(.top, 10)
} else {
Expand Down

0 comments on commit c7ce785

Please sign in to comment.