Merge pull request #6602 from SimonBrandner/release/fix/correct-button

[Release] Use the correct button component for the Call View sidebar button
pull/21833/head
Travis Ralston 2021-08-12 08:55:02 -06:00 committed by GitHub
commit 23221ceb2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -502,10 +502,12 @@ export default class CallView extends React.Component<IProps, IState> {
) )
) { ) {
sidebarButton = ( sidebarButton = (
<AccessibleButton <AccessibleTooltipButton
className={sidebarButtonClasses} className={sidebarButtonClasses}
onClick={this.onToggleSidebar} 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}
/> />
); );
} }