import SwiftUI

@main
struct MacTetherApp: App {
    @State private var store = MacTetherStore()
    var body: some Scene {
        MenuBarExtra("tether", systemImage: store.connected ? "link.circle.fill" : "link.circle") {
            MenuView(store: store)
                .frame(width: 320)
        }
        .menuBarExtraStyle(.window)
    }
}
