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:
parent
a29d67eea3
commit
8aa83a2d93
|
@ -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));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue