|
|
|
|
@ -27,7 +27,7 @@ class AppDelegate : NSObject, UIApplicationDelegate { |
|
|
|
|
UNUserNotificationCenter.current().delegate = self |
|
|
|
|
|
|
|
|
|
self._initSchemaIfNeeded() |
|
|
|
|
// self._activateAudioSession() |
|
|
|
|
self._activateAudioSession() |
|
|
|
|
|
|
|
|
|
Sound.computeSoundDurationsIfNecessary() |
|
|
|
|
|
|
|
|
|
@ -41,7 +41,7 @@ class AppDelegate : NSObject, UIApplicationDelegate { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func applicationWillEnterForeground(_ application: UIApplication) { |
|
|
|
|
self._activateAudioSession() |
|
|
|
|
// self._activateAudioSession() |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func applicationWillTerminate(_ application: UIApplication) { |
|
|
|
|
|