fix(toolbar-buttons) Show tileview in toolbar when separate reactions button (#13810)

This commit is contained in:
Horatiu Muresan
2023-09-08 14:44:32 +03:00
committed by GitHub
parent 5a6f3ead5a
commit 463c823d3b

View File

@@ -303,7 +303,7 @@ const Toolbox = ({
&& (isToolbarButtonEnabled(key, _toolbarButtons) || isToolbarButtonEnabled(alias, _toolbarButtons))
);
let sliceIndex = _overflowDrawer ? order.length + 2 : order.length + 1;
let sliceIndex = _overflowDrawer || _reactionsButtonEnabled ? order.length + 2 : order.length + 1;
if (isHangupVisible) {
sliceIndex -= 1;