Skip to content

Commit

Permalink
Fix m/s wind speed value not persisting
Browse files Browse the repository at this point in the history
Resolves #149
  • Loading branch information
aeharding committed May 12, 2024
1 parent ab33524 commit 493e2d7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/features/user/storage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,8 @@ export function getSpeedUnit(): SpeedUnit {
typeof savedValue !== "string" ||
(savedValue !== SpeedUnit.KPH &&
savedValue !== SpeedUnit.Knots &&
savedValue !== SpeedUnit.MPH)
savedValue !== SpeedUnit.MPH &&
savedValue !== SpeedUnit.mps)
)
return DEFAULT_SPEED_UNIT;

Expand Down

0 comments on commit 493e2d7

Please sign in to comment.