mirror of https://github.com/vector-im/riot-web
Merge pull request #6602 from SimonBrandner/release/fix/correct-button
[Release] Use the correct button component for the Call View sidebar buttonpull/21833/head
commit
23221ceb2e
|
@ -502,10 +502,12 @@ export default class CallView extends React.Component<IProps, IState> {
|
|||
)
|
||||
) {
|
||||
sidebarButton = (
|
||||
<AccessibleButton
|
||||
<AccessibleTooltipButton
|
||||
className={sidebarButtonClasses}
|
||||
onClick={this.onToggleSidebar}
|
||||
aria-label={this.state.sidebarShown ? _t("Hide sidebar") : _t("Show sidebar")}
|
||||
title={this.state.sidebarShown ? _t("Hide sidebar") : _t("Show sidebar")}
|
||||
alignment={Alignment.Top}
|
||||
yOffset={tooltipYOffset}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue