Removed (at least, temporarily!) the MenuBarViewModel view model from the app target.
This commit is contained in:
parent
99b2d88f67
commit
009f616d3e
@ -1,20 +0,0 @@
|
|||||||
//
|
|
||||||
// MenuBarViewModel.swift
|
|
||||||
// Piper ~ App
|
|
||||||
//
|
|
||||||
// Created by Javier Cicchelli on 06/10/2024.
|
|
||||||
// Copyright © 2024 Röck+Cöde. All rights reserved.
|
|
||||||
//
|
|
||||||
|
|
||||||
import Observation
|
|
||||||
|
|
||||||
@Observable
|
|
||||||
final class MenuBarViewModel {
|
|
||||||
|
|
||||||
// MARK: Initialisers
|
|
||||||
|
|
||||||
init () {
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
@ -15,9 +15,7 @@ struct MenuBarView: View {
|
|||||||
|
|
||||||
@Query(sort: \Repository.sortOrder)
|
@Query(sort: \Repository.sortOrder)
|
||||||
private var repositories: [Repository]
|
private var repositories: [Repository]
|
||||||
|
|
||||||
@State private var viewMode = MenuBarViewModel()
|
|
||||||
|
|
||||||
// MARK: Body
|
// MARK: Body
|
||||||
|
|
||||||
var body: some View {
|
var body: some View {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user