mirror of
https://github.com/cranci1/Sora.git
synced 2026-03-11 17:45:37 +00:00
Update SoraApp.swift
This commit is contained in:
parent
1afd46f9a7
commit
b5d868dcfa
1 changed files with 6 additions and 1 deletions
|
|
@ -177,11 +177,16 @@ struct SoraApp: App {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
class AppInfo: NSObject {
|
||||
@objc func getBundleIdentifier() -> String {
|
||||
return Bundle.main.bundleIdentifier ?? "me.cranci.sulfur"
|
||||
}
|
||||
|
||||
@objc func getDisplayName() -> String {
|
||||
return Bundle.main.object(forInfoDictionaryKey: "CFBundleDisplayName") as? String ??
|
||||
Bundle.main.object(forInfoDictionaryKey: "CFBundleName") as? String ??
|
||||
"Sora"
|
||||
}
|
||||
}
|
||||
|
||||
class AppDelegate: NSObject, UIApplicationDelegate {
|
||||
|
|
|
|||
Loading…
Reference in a new issue