크리에이터 채널 - 룰렛 설정

- 룰렛 설정 완료 메시지 표시
This commit is contained in:
Yu Sung
2024-10-04 14:04:08 +09:00
parent bb85658cb0
commit 76b5e62e6c
3 changed files with 24 additions and 9 deletions

View File

@@ -202,7 +202,7 @@ struct UserProfileView: View {
Rectangle()
.frame(height: 6.7)
.foregroundColor(Color(hex: "909090").opacity(0.5))
.foregroundColor(Color.gray90.opacity(0.5))
}
.padding(.top, 26.7)
}
@@ -240,7 +240,7 @@ struct UserProfileView: View {
.padding(.vertical, 13.3)
.frame(width: screenSize().width - 66.7, alignment: .center)
.font(.custom(Font.medium.rawValue, size: 12))
.background(Color(hex: "9970ff"))
.background(Color.button)
.foregroundColor(Color.white)
.multilineTextAlignment(.leading)
.cornerRadius(20)
@@ -363,7 +363,10 @@ struct UserProfileView: View {
}
if isShowRouletteSettings {
RouletteSettingsView(isShowing: $isShowRouletteSettings, availableActive: false) { _, _ in }
RouletteSettingsView(isShowing: $isShowRouletteSettings, availableActive: false) { _, message in
viewModel.errorMessage = message
viewModel.isShowPopup = true
}
}
}
.sheet(