Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 23221ce

Browse files
authored
Merge pull request #6602 from SimonBrandner/release/fix/correct-button
[Release] Use the correct button component for the Call View sidebar button
2 parents f99e0d1 + 71008c9 commit 23221ce

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/components/views/voip/CallView.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -502,10 +502,12 @@ export default class CallView extends React.Component<IProps, IState> {
502502
)
503503
) {
504504
sidebarButton = (
505-
<AccessibleButton
505+
<AccessibleTooltipButton
506506
className={sidebarButtonClasses}
507507
onClick={this.onToggleSidebar}
508-
aria-label={this.state.sidebarShown ? _t("Hide sidebar") : _t("Show sidebar")}
508+
title={this.state.sidebarShown ? _t("Hide sidebar") : _t("Show sidebar")}
509+
alignment={Alignment.Top}
510+
yOffset={tooltipYOffset}
509511
/>
510512
);
511513
}

0 commit comments

Comments
 (0)