Skip to content

Commit

Permalink
Fix wind speed in knots
Browse files Browse the repository at this point in the history
  • Loading branch information
woheller69 committed Sep 20, 2024
1 parent 3c6d6bd commit c829ddd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public static String formatWindSpeed(Context context, float wind_speed) {
case "4":
return formatInt((float) (wind_speed), context.getString(R.string.units_m_s));
case "5":
return formatInt((float) (wind_speed * 0.51444), context.getString(R.string.units_kn));
return formatInt((float) (wind_speed * 1.94384), context.getString(R.string.units_kn));
default:
return formatInt((float) (wind_speed * 2.236), context.getString(R.string.units_mph));
}
Expand Down
3 changes: 2 additions & 1 deletion fastlane/metadata/android/en-US/changelogs/31.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
Fix widgets for older devices
Fix widgets for older devices
Fix wind speed in knots

0 comments on commit c829ddd

Please sign in to comment.