qstatus/qStatus/App/QStatusApp.swift
Paweł Orzech c27437b33c
Initial implementation of qStatus macOS menubar app
Native macOS app for posting to Mastodon, WordPress (self-hosted), and Micro.blog.
Features: global hotkey (Ctrl+Option+Cmd+T), multiple accounts with selection,
image attachments (up to 4, drag-and-drop), floating panel UI, Keychain storage.
2026-02-27 23:40:51 +01:00

20 lines
556 B
Swift

import SwiftUI
@main
struct QStatusApp: App {
@NSApplicationDelegateAdaptor(AppDelegate.self) var appDelegate
var body: some Scene {
MenuBarExtra("qStatus", systemImage: "bubble.left.and.text.bubble.right") {
MenuBarView(
accountStore: appDelegate.accountStore,
onOpenPanel: { appDelegate.showPanel() },
onOpenSettings: { appDelegate.showSettings() }
)
}
Settings {
SettingsView(accountStore: appDelegate.accountStore)
}
}
}