@takeoffmedia/react-native-penthera 0.1.9 → 0.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ios/Penthera.swift +10 -10
- package/package.json +1 -1
package/ios/Penthera.swift
CHANGED
|
@@ -89,15 +89,15 @@ class Penthera: RCTEventEmitter, VirtuosoDownloadEngineNotificationsDelegate {
|
|
|
89
89
|
offlineCatalogs.append(catalog)
|
|
90
90
|
}
|
|
91
91
|
|
|
92
|
-
for case let va as VirtuosoAsset in pendingAssets {
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
}
|
|
92
|
+
// for case let va as VirtuosoAsset in pendingAssets {
|
|
93
|
+
// let catalog = OfflineCatalog(
|
|
94
|
+
// id: va.assetID,
|
|
95
|
+
// data: DataItem(),
|
|
96
|
+
// isCompleted: false,
|
|
97
|
+
// isPaused: va.isPaused
|
|
98
|
+
// )
|
|
99
|
+
// offlineCatalogs.append(catalog)
|
|
100
|
+
// }
|
|
101
101
|
|
|
102
102
|
let decoder = JSONEncoder()
|
|
103
103
|
do {
|
|
@@ -140,7 +140,7 @@ class Penthera: RCTEventEmitter, VirtuosoDownloadEngineNotificationsDelegate {
|
|
|
140
140
|
duration: asset.duration,
|
|
141
141
|
estimatedSize: Int(asset.estimatedSize),
|
|
142
142
|
progress: Int(asset.fractionComplete*100),
|
|
143
|
-
isCompleted:
|
|
143
|
+
isCompleted: false,
|
|
144
144
|
isPaused: asset.isPaused
|
|
145
145
|
)
|
|
146
146
|
|