wordpress-mobile / WordPress-Editor-Android

⛔️ [DEPRECATED] A reusable Android rich text editor component.
GNU General Public License v2.0
188 stars 50 forks source link

Issue #411: Edit containers not being cleared when switching to HTML mode #414

Closed aforcier closed 8 years ago

aforcier commented 8 years ago

Fixes #411.

This bug was introduced fairly recently, in https://github.com/wordpress-mobile/WordPress-Android/pull/4157/commits/82903c73310d3af5e05cf74f2b583f10fde19cb6. That commit was fixing a crash report (https://github.com/wordpress-mobile/WordPress-Editor-Android/issues/393), but it turns out that the null check will trip when switching to HTML mode and the edit container isn't cleared away. I changed the null check behavior so that #393 should still be fixed.

cc @maxme

maxme commented 8 years ago

:shipit: