@rnmapbox/maps 10.0.9-rc.1 → 10.0.9

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.
@@ -567,7 +567,8 @@ open class RCTMGLMapView(private val mContext: Context, var mManager: RCTMGLMapV
567
567
  fun applyLocalizeLabels() {
568
568
  val localeStr = mLocaleString
569
569
  if (localeStr != null) {
570
- val locale = if (localeStr == "current") Locale.getDefault() else Locale(localeStr)
570
+ val locale = if (localeStr == "current") Locale.getDefault() else Locale.Builder()
571
+ .setLanguageTag(localeStr).build()
571
572
  savedStyle?.localizeLabels(locale, mLocaleLayerIds)
572
573
  }
573
574
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@rnmapbox/maps",
3
3
  "description": "A Mapbox react native module for creating custom maps",
4
- "version": "10.0.9-rc.1",
4
+ "version": "10.0.9",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },