mirror of
https://github.com/viq/NewsBlur.git
synced 2025-08-05 16:49:45 +00:00

- Migrated to modern window scene support. - Customized the menu bar, with Theme submenu, and new Site and Story menus (some items not implemented yet).
20 lines
521 B
Swift
20 lines
521 B
Swift
//
|
|
// SceneDelegate.swift
|
|
// NewsBlur
|
|
//
|
|
// Created by David Sinclair on 2023-11-15.
|
|
// Copyright © 2023 NewsBlur. All rights reserved.
|
|
//
|
|
|
|
import UIKit
|
|
|
|
class SceneDelegate: UIResponder, UIWindowSceneDelegate {
|
|
let appDelegate: NewsBlurAppDelegate = .shared
|
|
|
|
var window: UIWindow?
|
|
|
|
func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) {
|
|
appDelegate.window = window
|
|
appDelegate.prepareViewControllers()
|
|
}
|
|
}
|