Skip to content

Commit

Permalink
quickfix for problems introduced with #83
Browse files Browse the repository at this point in the history
  • Loading branch information
wuan committed Apr 14, 2016
1 parent 831ef63 commit d74ed94
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class ManualLocationProvider(locationUpdate: (Location?) -> Unit, private val sh
}

private fun onSharedPreferenceChanged(sharedPreferences: SharedPreferences, key: PreferenceKey) {
val doubleConverter: fun (x: String): Double? {
val doubleConverter = fun (x: String): Double? {
try {
return x.toDouble()
} catch (e: NumberFormatException) {
Expand Down

0 comments on commit d74ed94

Please sign in to comment.