mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Notification sound file reference revalidation
This commit is contained in:
@@ -329,7 +329,7 @@ public func playSound(context: AccountContext, notificationSoundList: Notificati
|
||||
deactivateImpl?()
|
||||
})
|
||||
currentPlayer?.play()
|
||||
} else {
|
||||
} else if !filePath.isEmpty {
|
||||
if let url = getAppBundle().url(forResource: filePath, withExtension: "m4a") {
|
||||
currentPlayer = AudioPlayerWrapper(url: url, completed: {
|
||||
deactivateImpl?()
|
||||
|
||||
Reference in New Issue
Block a user