treemapper
treemapper copied to clipboard
Translation of "Unknown" species not shown after loading from API
Describe the bug When you use a localized version of Treemapper and register an unknown species, in the review screen, in the list and in the detail screen after saving, the localized version of "Unknown" (e.g. "Unbekannt" in German) is shown.
But if you delete the local data of the device (or load the plant locations on another empty device), the loaded data from the API (containing "scientificSpecies": null
) is not showing any translation for "Unknown" any more:
Is it on a Production or Development Build? production & develop
To Reproduce Steps to reproduce the behavior:
- Register single tree with unknown species.
- Upload the registration.
- Delete the data of the app.
- Load the registration again from the API.
- See error
Smartphone (please complete the following information):
- Device: iPhone 11 simulator
- OS: latest iOS
- TreeMapper App Version: 1.0.5