룰렛 설정 개수에 따라 룰렛 프리셋 버튼 활성화/비활성화

This commit is contained in:
Yu Sung
2024-02-28 03:22:42 +09:00
parent bb64adc684
commit 367be74279
3 changed files with 8 additions and 4 deletions

View File

@@ -44,7 +44,7 @@ final class RouletteSettingsViewModel: ObservableObject {
var can = 0
private var rouletteId = 0
private var rouletteList = [GetNewRouletteResponse]()
@Published var rouletteList = [GetNewRouletteResponse]()
func plusWeight(index: Int) {
options[index].weight += 1