크리에이터 채널
- 메뉴 설정 버튼 추가
This commit is contained in:
31
SodaLive/Sources/Live/Room/Menu/MenuSettingsView.swift
Normal file
31
SodaLive/Sources/Live/Room/Menu/MenuSettingsView.swift
Normal file
@@ -0,0 +1,31 @@
|
||||
//
|
||||
// MenuSettingsView.swift
|
||||
// SodaLive
|
||||
//
|
||||
// Created by klaus on 10/7/24.
|
||||
//
|
||||
|
||||
import SwiftUI
|
||||
|
||||
struct MenuSettingsView: View {
|
||||
|
||||
@StateObject var viewModel = MenuSettingsViewModel()
|
||||
|
||||
@Binding var isShowing: Bool
|
||||
|
||||
var body: some View {
|
||||
BaseView(isLoading: $viewModel.isLoading) {
|
||||
VStack(spacing: 0) {
|
||||
DetailNavigationBar(title: "메뉴 설정")
|
||||
|
||||
Text("메뉴 설정")
|
||||
|
||||
Spacer()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#Preview {
|
||||
MenuSettingsView(isShowing: .constant(true))
|
||||
}
|
12
SodaLive/Sources/Live/Room/Menu/MenuSettingsViewModel.swift
Normal file
12
SodaLive/Sources/Live/Room/Menu/MenuSettingsViewModel.swift
Normal file
@@ -0,0 +1,12 @@
|
||||
//
|
||||
// MenuSettingsViewModel.swift
|
||||
// SodaLive
|
||||
//
|
||||
// Created by klaus on 10/7/24.
|
||||
//
|
||||
|
||||
import Foundation
|
||||
|
||||
final class MenuSettingsViewModel: ObservableObject {
|
||||
@Published var isLoading = false
|
||||
}
|
Reference in New Issue
Block a user