From 0743399e1e0bef238d8dde0b9afac6e9e603bc00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mikl=C3=B3s=20Fazekas?= Date: Thu, 5 Sep 2024 11:49:16 +0200 Subject: [PATCH] fix(android): android build on pre 0.75 --- .../rnmbx/components/styles/sources/RNMBXImageSource.kt | 1 - .../rnmapbox/rnmbx/rncompat/ResourceDrawableIdHelper.kt | 7 ------- 2 files changed, 8 deletions(-) delete mode 100644 android/src/main/rn-compat/rn75/com/rnmapbox/rnmbx/rncompat/ResourceDrawableIdHelper.kt diff --git a/android/src/main/java/com/rnmapbox/rnmbx/components/styles/sources/RNMBXImageSource.kt b/android/src/main/java/com/rnmapbox/rnmbx/components/styles/sources/RNMBXImageSource.kt index 16a455d80..023202746 100644 --- a/android/src/main/java/com/rnmapbox/rnmbx/components/styles/sources/RNMBXImageSource.kt +++ b/android/src/main/java/com/rnmapbox/rnmbx/components/styles/sources/RNMBXImageSource.kt @@ -5,7 +5,6 @@ import android.net.Uri import android.util.Log import com.facebook.react.views.imagehelper.ResourceDrawableIdHelper import com.mapbox.maps.extension.style.sources.generated.ImageSource -import com.rnmapbox.rnmbx.rncompat.resourcedrawableidhelper.* import com.rnmapbox.rnmbx.utils.LatLngQuad import java.net.URL diff --git a/android/src/main/rn-compat/rn75/com/rnmapbox/rnmbx/rncompat/ResourceDrawableIdHelper.kt b/android/src/main/rn-compat/rn75/com/rnmapbox/rnmbx/rncompat/ResourceDrawableIdHelper.kt deleted file mode 100644 index 0bb9b81ab..000000000 --- a/android/src/main/rn-compat/rn75/com/rnmapbox/rnmbx/rncompat/ResourceDrawableIdHelper.kt +++ /dev/null @@ -1,7 +0,0 @@ -package com.rnmapbox.rnmbx.rncompat.resourcedrawableidhelper; - -import com.facebook.react.views.imagehelper.ResourceDrawableIdHelper - -public fun ResourceDrawableIdHelper.Companion.getInstance(): ResourceDrawableIdHelper { - return this.instance -} \ No newline at end of file