Fixed a bug where the notification sound "preview" playing wasn't working

This commit is contained in:
Morgan Pretty 2022-08-17 10:02:23 +10:00
parent b53ad0c5ed
commit 362986e73a
1 changed files with 1 additions and 1 deletions

View File

@ -234,7 +234,7 @@ public enum Preferences {
let url: URL = URL(fileURLWithPath: filename)
return Bundle.main.url(
forResource: url.deletingPathExtension().absoluteString,
forResource: url.deletingPathExtension().path,
withExtension: url.pathExtension
)
}