mirror of
https://github.com/ev-map/EVMap.git
synced 2026-05-19 12:26:20 -04:00
Revert "Revert "check car app API level before setting OnContentRefreshListener""
This reverts commit 09d6647ec0.
This commit is contained in:
@@ -246,7 +246,9 @@ class MapScreen(ctx: CarContext, val session: EVMapSession) :
|
||||
}
|
||||
.build())
|
||||
.build())
|
||||
setOnContentRefreshListener(this@MapScreen)
|
||||
if (carContext.carAppApiLevel >= 5) {
|
||||
setOnContentRefreshListener(this@MapScreen)
|
||||
}
|
||||
}.build()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user