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

- 룰렛 설정 완료 메시지 표시
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

@@ -216,6 +216,7 @@ struct RouletteSettingsView: View {
)
}
}
.ignoresSafeArea()
.popup(isPresented: $viewModel.isShowErrorPopup, type: .toast, position: .top, autohideIn: 1.3) {
GeometryReader { geo in
HStack {
@@ -234,6 +235,7 @@ struct RouletteSettingsView: View {
}
}
.onAppear {
viewModel.availableActive = availableActive
viewModel.getAllRoulette(creatorId: UserDefaults.int(forKey: .userId))
}
}