Closed 1ec5 closed 5 years ago
The “Include CJK characters” checkbox in the Add Offline Pack sheet is hooked up to MapDocument.includeIdeographsBox
, which isn’t defined.
includesIdeographicGlyphsBox
:It was probably a last-minute refactoring, but it means that the checkbox has been nonfunctional all this time. Any offline pack size estimates that depended on this checkbox being unchecked are inaccurate.
/cc @chloekraw @coxchapman
Thanks for catching this and fixing it so quickly @1ec5! Is this the kind of thing we can or should add tests for?
cc/ @mapbox/maps-ios
This only surfaced as a runtime warning, since it was an application-level UI bug. We’d need to create an UI test integration target like we have for iOS. It’d be a bit of a big lift, versus educating contributors to this codebase that XIBs can have code-level dependencies on source files.
The following warning appears in the console when launching macosapp as of 8389e746b6745a68fcd58ece8e398bde0a85b57f:
/cc @fabian-guerra