From b5d868dcfa2a5f0acce949f85cc2ced1b00a95f2 Mon Sep 17 00:00:00 2001 From: cranci <100066266+cranci1@users.noreply.github.com> Date: Sun, 1 Jun 2025 15:49:04 +0200 Subject: [PATCH] Update SoraApp.swift --- Sora/SoraApp.swift | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 {