Skip to content

Commit

Permalink
Fix m/s wind speed value not persisting (#150)
Browse files Browse the repository at this point in the history
Resolves #149
  • Loading branch information
aeharding authored May 12, 2024
1 parent ab33524 commit 3695f9b
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 3695f9b

Please sign in to comment.