From 6be407d319bec63fd70d0b43ded030d7f3f14394 Mon Sep 17 00:00:00 2001 From: Krzysztof Moch Date: Fri, 6 Sep 2024 11:51:38 +0200 Subject: [PATCH] lint --- ios/Video/Features/DRMManager.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ios/Video/Features/DRMManager.swift b/ios/Video/Features/DRMManager.swift index cad95d17e9..782a9a404f 100644 --- a/ios/Video/Features/DRMManager.swift +++ b/ios/Video/Features/DRMManager.swift @@ -37,7 +37,7 @@ class DRMManager: NSObject { self.onVideoError = onVideoError self.onGetLicense = onGetLicense self.drmParams = drmParams - + if drmParams?.type != "fairplay" { self.onVideoError?([ "error": RCTVideoErrorHandler.createError(from: RCTVideoError.unsupportedDRMType), @@ -45,7 +45,7 @@ class DRMManager: NSObject { ]) return } - + contentKeySession.addContentKeyRecipient(asset) }