mirror of
https://github.com/dscyrescotti/Memola.git
synced 2026-04-10 03:03:42 +02:00
20 lines
438 B
Swift
20 lines
438 B
Swift
//
|
|
// AppDelegate.swift
|
|
// Memola
|
|
//
|
|
// Created by Dscyre Scotti on 7/12/24.
|
|
//
|
|
|
|
import SwiftUI
|
|
|
|
class AppDelegate: NSObject, ObservableObject { }
|
|
|
|
#if os(macOS)
|
|
extension AppDelegate: NSApplicationDelegate {
|
|
func applicationDidFinishLaunching(_ notification: Notification) {
|
|
NSWindow.allowsAutomaticWindowTabbing = false
|
|
UserDefaults.standard.register(defaults: ["NSQuitAlwaysKeepsWindows": false])
|
|
}
|
|
}
|
|
#endif
|