Skip to content

[Odometer] Refactor IOURequestStepDistanceOdometer to use handleMoneyRequestStepDistanceNavigation #81727

@Julesssss

Description

@Julesssss

Part of the Migrate Odometer project.

IOURequestStepDistanceOdometer contains ~100 lines duplicating logic for participant selection, skip-confirmation handling, and navigation that already exists in handleMoneyRequestStepDistanceNavigation. This helper centralizes the "what happens after distance is set" flow.

Refactor to call handleMoneyRequestStepDistanceNavigation after saving odometer readings. Only odometer-specific code (storing readings and passing them to request/track payload) should remain.

Metadata

Metadata

Assignees

Labels

EngineeringImprovementItem broken or needs improvement.InternalRequires API changes or must be handled by Expensify staff

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions