diff --git a/Sora/SoraApp.swift b/Sora/SoraApp.swift index c87ed45..e386eb4 100644 --- a/Sora/SoraApp.swift +++ b/Sora/SoraApp.swift @@ -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 {