summaryrefslogtreecommitdiff
path: root/octosentry/octosentryApp.swift
blob: cf7522d1ec5f3ce1f5068e80f736800075aeef66 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
//
//  octosentryApp.swift
//  octosentry
//
//  Created by cmc on 2026-07-17.
//

import SwiftUI

@main
struct octosentryApp: App {
    @State private var store = SecurityEventStore()
    @State private var authStore = AuthStore()

    var body: some Scene {
        MenuBarExtra("OctoSentry", systemImage: "shield.lefthalf.filled") {
            SecurityEventListView(store: store, authStore: authStore)
        }
        .menuBarExtraStyle(.window)
    }
}