From d9c97b203a5b0b35b1f1809eeb7630dcc0332d77 Mon Sep 17 00:00:00 2001 From: Vehovec Date: Mon, 9 Oct 2023 11:25:26 +0200 Subject: [PATCH] chore: better formatting --- .../player/reactnative/offline/OfflineContentManagerBridge.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/android/src/main/java/com/bitmovin/player/reactnative/offline/OfflineContentManagerBridge.kt b/android/src/main/java/com/bitmovin/player/reactnative/offline/OfflineContentManagerBridge.kt index 5d0a1959..2d97429c 100644 --- a/android/src/main/java/com/bitmovin/player/reactnative/offline/OfflineContentManagerBridge.kt +++ b/android/src/main/java/com/bitmovin/player/reactnative/offline/OfflineContentManagerBridge.kt @@ -63,8 +63,7 @@ class OfflineContentManagerBridge( if (request.minimumBitrate == null) { sortedVideoOptions.lastOrNull() } else { - sortedVideoOptions - .firstOrNull { option -> option.bitrate >= request.minimumBitrate } + sortedVideoOptions.firstOrNull { option -> option.bitrate >= request.minimumBitrate } }?.apply { action = OfflineOptionEntryAction.Download }