This commit is contained in:
Trey t
2023-07-08 11:48:14 -05:00
parent 5ca99cf832
commit 0b477bc182
5 changed files with 168 additions and 121 deletions

View File

@@ -8,7 +8,7 @@
import SwiftUI
struct WatchControlView: View {
@StateObject var vm = WatchMainViewModel()
@StateObject var vm = WatchMainViewModel.shared
var body: some View {
HStack {
@@ -54,8 +54,8 @@ struct WatchControlView: View {
}
}
struct WatchControlView_Previews: PreviewProvider {
static var previews: some View {
WatchControlView(vm: WatchMainViewModel())
}
}
//struct WatchControlView_Previews: PreviewProvider {
// static var previews: some View {
// WatchControlView(vm: WatchMainViewModel())
// }
//}