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

Remove poorly contrasted "dark style" heading in Room Preview Bar #5052

Merged
merged 1 commit into from
Jul 28, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions res/css/views/rooms/_RoomPreviewBar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,6 @@ limitations under the License.
}
}

.mx_RoomPreviewBar_dark {
background-color: $tagpanel-bg-color;
color: $accent-fg-color;
}

.mx_RoomPreviewBar_actions {
display: flex;
}
Expand Down
3 changes: 0 additions & 3 deletions src/components/views/rooms/RoomPreviewBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,6 @@ export default createReactClass({
const AccessibleButton = sdk.getComponent('elements.AccessibleButton');

let showSpinner = false;
let darkStyle = false;
let title;
let subTitle;
let primaryActionHandler;
Expand Down Expand Up @@ -316,7 +315,6 @@ export default createReactClass({
break;
}
case MessageCase.NotLoggedIn: {
darkStyle = true;
title = _t("Join the conversation with an account");
primaryActionLabel = _t("Sign Up");
primaryActionHandler = this.onRegisterClick;
Expand Down Expand Up @@ -557,7 +555,6 @@ export default createReactClass({
const classes = classNames("mx_RoomPreviewBar", "dark-panel", `mx_RoomPreviewBar_${messageCase}`, {
"mx_RoomPreviewBar_panel": this.props.canPreview,
"mx_RoomPreviewBar_dialog": !this.props.canPreview,
"mx_RoomPreviewBar_dark": darkStyle,
});

return (
Expand Down