MNN/apps/iOS/MNNLLMChat/MNNLLMiOS/MNNLLMiOSApp.swift

27 lines
527 B
Swift
Raw Normal View History

//
// MNNLLMiOSApp.swift
// MNNLLMiOS
//
// Created by () on 2024/12/26.
//
import SwiftUI
@main
struct MNNLLMiOSApp: App {
2025-02-13 15:51:34 +08:00
init() {
UIView.appearance().overrideUserInterfaceStyle = .light
2025-07-01 17:29:25 +08:00
let savedLanguage = LanguageManager.shared.currentLanguage
2025-07-21 16:06:09 +08:00
UserDefaults.standard.set([savedLanguage], forKey: "AppleLanguages")
2025-07-01 17:29:25 +08:00
UserDefaults.standard.synchronize()
2025-02-13 15:51:34 +08:00
}
var body: some Scene {
WindowGroup {
2025-06-20 17:39:06 +08:00
MainTabView()
}
}
}