Closed aforcier closed 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
:shipit:
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