Skip to content

Commit 13e3733

Browse files
committed
fix(AudioContext): remove warnings
1 parent e58ac2e commit 13e3733

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

AudioContext.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ final class AudioContext {
4646
case .failed, .cancelled, .loading, .unknown:
4747
print("Couldn't load asset: \(error?.localizedDescription ?? "Unknown error")")
4848
completionHandler(nil)
49+
@unknown default:
50+
print("Couldn't load asset, unknown default: \(error?.localizedDescription ?? "Unknown error")")
51+
completionHandler(nil)
4952
}
5053
}
5154
}

0 commit comments

Comments
 (0)