From d68c214358f6124fba8bb8f2052872f0a699a517 Mon Sep 17 00:00:00 2001 From: Fernando Olivares Date: Sat, 31 Jul 2021 23:58:29 -0500 Subject: [PATCH] #41: More formatting changes --- Unwrap/Activities/Awards/AwardSound.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Unwrap/Activities/Awards/AwardSound.swift b/Unwrap/Activities/Awards/AwardSound.swift index 0ee7379..c2c444b 100644 --- a/Unwrap/Activities/Awards/AwardSound.swift +++ b/Unwrap/Activities/Awards/AwardSound.swift @@ -19,8 +19,8 @@ class AwardSound { try AVAudioSession.sharedInstance().setActive(true) let player = try AVAudioPlayer(contentsOf: levelUpSoundURL, - fileTypeHint: AVFileType.wav.rawValue) - + fileTypeHint: AVFileType.wav.rawValue) + player.play() } catch let error { print(error.localizedDescription)