Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Free the bitmap when set to empty string
In the latest release, setting the text to an empty string, then back to a string of the same size as the previous value, the bitmap label would not be updated. [See this code for example](https://github.com/adafruit/Adafruit_CircuitPython_MacroPad/blob/main/examples/macropad_grid_layout.py). In addition, clearing the memory when the text is empty seems to me to match expectations. (Also use `text` instead of `self._text`).
- Loading branch information