diff --git a/app/src/main/java/net/youapps/calcyou/data/converters/LengthConverter.kt b/app/src/main/java/net/youapps/calcyou/data/converters/LengthConverter.kt index b6ae731..4e8e486 100644 --- a/app/src/main/java/net/youapps/calcyou/data/converters/LengthConverter.kt +++ b/app/src/main/java/net/youapps/calcyou/data/converters/LengthConverter.kt @@ -11,6 +11,7 @@ class LengthConverter : UnitConverter { FactorUnit(R.string.mile, 1609.344), FactorUnit(R.string.yard, 0.9144), FactorUnit(R.string.foot, 0.3048), - FactorUnit(R.string.inch, 0.0254) + FactorUnit(R.string.inch, 0.0254), + FactorUnit(R.string.nautical_mile, 1852) ) -} \ No newline at end of file +} diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 27e9d4e..3e5c7e0 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -37,6 +37,7 @@ Centimeter Millimeter Mile + Nautical Mile Yard Foot Inch @@ -160,4 +161,4 @@ Terabit Petabit Exabit - \ No newline at end of file +