fix(TileViewButton) fix on mobile
`setOverflowMenuVisible` doesn't exist on mobile.
This commit is contained in:
parent
d7b581e338
commit
994f6307b9
|
@ -71,7 +71,7 @@ class TileViewButton<P: Props> extends AbstractButton<P, *> {
|
||||||
logger.debug(`Tile view ${value ? 'enable' : 'disable'}`);
|
logger.debug(`Tile view ${value ? 'enable' : 'disable'}`);
|
||||||
batch(() => {
|
batch(() => {
|
||||||
dispatch(setTileView(value));
|
dispatch(setTileView(value));
|
||||||
dispatch(setOverflowMenuVisible(false));
|
navigator.product !== 'ReactNative' && dispatch(setOverflowMenuVisible(false));
|
||||||
});
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue