Avoid calling textPaint.getTextBounds repeatedly

This operation seems to be very expensive on some Samsung phones,
which causes ANRs.

Fixes #962
This commit is contained in:
2021-06-05 18:19:03 -05:00
parent 89b24911ba
commit be51538704
3 changed files with 10 additions and 3 deletions

View File

@@ -4,6 +4,7 @@
### Fixed
- Improve automatic checkmarks for monthly habits (@iSoron, 947)
- Fix small theme issues (@iSoron)
- Fix ANR on some Samsung phones (@iSoron, #962)
## [2.0.2] - 2021-05-23