Fix setting android toolbar images after null them

Summary:fix #6374
Closes https://github.com/facebook/react-native/pull/6392

Differential Revision: D3041076

Pulled By: mkonicek

fb-gh-sync-id: 39efbc62c1cd352b54f062d8530a26f7630bf51f
shipit-source-id: 39efbc62c1cd352b54f062d8530a26f7630bf51f
This commit is contained in:
farwayer 2016-03-11 08:06:33 -08:00 committed by Facebook Github Bot 7
parent a29d67eea3
commit 8aa83a2d93
1 changed files with 1 additions and 0 deletions

View File

@ -290,6 +290,7 @@ public class ReactToolbar extends Toolbar {
.setOldController(holder.getController())
.build();
holder.setController(controller);
holder.getTopLevelDrawable().setVisible(true, true);
} else {
controllerListener.setDrawable(getDrawableByName(uri));
}