simra-project / simra-ios

Apache License 2.0
4 stars 6 forks source link

[FIX] When initializing the Trip properties, use the correct keys when accessing user defaults. #50

Closed treh closed 3 years ago

treh commented 3 years ago

Currently the childseat property is always initialized to false, because the wrong user defaults key is used.

Note: The user defaults key for child set is "childSeat" (camel case) while the storage key is "childseat" (lowercase). Both are persisted, so we can't unify them.

ckrey commented 3 years ago

Thanks for spotting those blunders