kopia lustrzana https://github.com/meshtastic/Meshtastic-Android
Merge branch 'feature/new-preferences'
commit
2f7d189040
|
@ -229,10 +229,10 @@ class MapFragment : ScreenFragment("Map"), Logging {
|
|||
|
||||
if (userStyleURI != null) {
|
||||
offlineManager.removeStylePack(userStyleURI!!)
|
||||
mapView?.getMapboxMap()?.loadStyleUri(Style.OUTDOORS)
|
||||
mapView?.getMapboxMap()?.loadStyleUri(loadMapStyleFromPref())
|
||||
} else {
|
||||
offlineManager.removeStylePack(mapView?.getMapboxMap()?.getStyle()?.styleURI.toString())
|
||||
mapView?.getMapboxMap()?.loadStyleUri(Style.OUTDOORS)
|
||||
mapView?.getMapboxMap()?.loadStyleUri(loadMapStyleFromPref())
|
||||
}
|
||||
MapboxMap.clearData(resourceOptions) {
|
||||
it.error?.let { error ->
|
||||
|
|
Ładowanie…
Reference in New Issue