mirror of
https://github.com/ev-map/EVMap.git
synced 2025-12-23 23:27:46 -05:00
Auto: make AboutScreen only accessible when parked
This commit is contained in:
@@ -143,9 +143,9 @@ class SettingsScreen(ctx: CarContext, val session: EVMapSession) : Screen(ctx),
|
||||
).setTint(CarColor.DEFAULT).build()
|
||||
)
|
||||
.setBrowsable(true)
|
||||
.setOnClickListener {
|
||||
.setOnClickListener(ParkedOnlyOnClickListener.create {
|
||||
screenManager.push(AboutScreen(carContext, session))
|
||||
}
|
||||
})
|
||||
.build()
|
||||
)
|
||||
}.build())
|
||||
|
||||
Reference in New Issue
Block a user