mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-01 20:53:04 -04:00
Merge branch 'feature/new-preferences'
This commit is contained in:
@@ -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 ->
|
||||
|
||||
Reference in New Issue
Block a user