WIP
This commit is contained in:
@@ -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())
|
||||
// }
|
||||
//}
|
||||
|
||||
Reference in New Issue
Block a user