mirror of
https://github.com/cranci1/Sora.git
synced 2026-04-19 23:52:09 +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 {
|
class AppInfo: NSObject {
|
||||||
@objc func getBundleIdentifier() -> String {
|
@objc func getBundleIdentifier() -> String {
|
||||||
return Bundle.main.bundleIdentifier ?? "me.cranci.sulfur"
|
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 {
|
class AppDelegate: NSObject, UIApplicationDelegate {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue