do most of the steps to upgrade to compose dev08

This commit is contained in:
geeksville 2020-04-05 22:17:40 -07:00
parent f0492d3ee4
commit d11cf34b3f
13 changed files with 27 additions and 31 deletions

View file

@ -77,7 +77,6 @@ private val mapLifecycleCallbacks = object : Application.ActivityLifecycleCallba
fun MapContent() {
analyticsScreen(name = "map")
val typography = MaterialTheme.typography()
val context = ContextAmbient.current
onCommit(AppStatus.currentScreen) {
@ -161,7 +160,7 @@ fun MapContent() {
bounds.includes(nodesWithPosition.map { it.position!! }
.map { LatLng(it.latitude, it.longitude) })
CameraUpdateFactory.newLatLngBounds(bounds.build(), 100)
CameraUpdateFactory.newLatLngBounds(bounds.build(), 150)
} else {
// Only one node, just zoom in on it
val it = nodesWithPosition[0].position!!