Skip to content

Commit

Permalink
feat: Allow TRIP_INFO screen to be refreshed
Browse files Browse the repository at this point in the history
  • Loading branch information
tzebrowski committed Jul 17, 2024
1 parent d0d4b50 commit 6a9bc90
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,6 @@ class SurfaceController(
setStrategy(QueryStrategyType.DRAG_RACING_QUERY)
})

dataLogger.updateQuery(query = query)
surfaceRenderer = SurfaceRenderer.allocate(carContext, settings, metricsCollector, fps, surfaceRendererType = SurfaceRendererType.DRAG_RACING)
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -259,5 +259,5 @@ internal class SurfaceScreen(
}

private fun isAllowedFrameRendering() = screenId == GIULIA_SCREEN_ID ||
screenId == DRAG_RACING_SCREEN_ID
screenId == DRAG_RACING_SCREEN_ID || screenId == TRIP_INFO_SCREEN_ID
}

0 comments on commit 6a9bc90

Please sign in to comment.