diff --git a/patches/@react-native+assets-registry+0.72.0.patch b/patches/@react-native+assets-registry+0.72.0.patch deleted file mode 100644 index 6a7dee124446..000000000000 --- a/patches/@react-native+assets-registry+0.72.0.patch +++ /dev/null @@ -1,52 +0,0 @@ -diff --git a/node_modules/@react-native/assets-registry/registry.js b/node_modules/@react-native/assets-registry/registry.js -index 02470da..ff89e52 100644 ---- a/node_modules/@react-native/assets-registry/registry.js -+++ b/node_modules/@react-native/assets-registry/registry.js -@@ -8,30 +8,31 @@ - * @format - */ - --'use strict'; -+// 'use strict'; - --export type PackagerAsset = { -- +__packager_asset: boolean, -- +fileSystemLocation: string, -- +httpServerLocation: string, -- +width: ?number, -- +height: ?number, -- +scales: Array, -- +hash: string, -- +name: string, -- +type: string, -- ... --}; -+// export type PackagerAsset = { -+// +__packager_asset: boolean, -+// +fileSystemLocation: string, -+// +httpServerLocation: string, -+// +width: ?number, -+// +height: ?number, -+// +scales: Array, -+// +hash: string, -+// +name: string, -+// +type: string, -+// ... -+// }; - --const assets: Array = []; -+// const assets: Array = []; -+const assets = []; - --function registerAsset(asset: PackagerAsset): number { -+function registerAsset(asset) { - // `push` returns new array length, so the first asset will - // get id 1 (not 0) to make the value truthy - return assets.push(asset); - } - --function getAssetByID(assetId: number): PackagerAsset { -+function getAssetByID(assetId) { - return assets[assetId - 1]; - } -