mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-29 04:35:36 +08:00
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:
committed by
Facebook Github Bot 7
parent
a29d67eea3
commit
8aa83a2d93
@@ -290,6 +290,7 @@ public class ReactToolbar extends Toolbar {
|
|||||||
.setOldController(holder.getController())
|
.setOldController(holder.getController())
|
||||||
.build();
|
.build();
|
||||||
holder.setController(controller);
|
holder.setController(controller);
|
||||||
|
holder.getTopLevelDrawable().setVisible(true, true);
|
||||||
} else {
|
} else {
|
||||||
controllerListener.setDrawable(getDrawableByName(uri));
|
controllerListener.setDrawable(getDrawableByName(uri));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user