Initial RoomTagContextMenu wired in

This commit is contained in:
wmwragg 2016-08-05 15:49:03 +01:00
parent 7880734d77
commit b3459be707
2 changed files with 4 additions and 3 deletions

View File

@ -46,6 +46,7 @@ module.exports = React.createClass({
// return { // return {
// areNotifsMuted: areNotifsMuted, // areNotifsMuted: areNotifsMuted,
// }; // };
return null;
}, },
// _save: function( isMuted ) { // _save: function( isMuted ) {
@ -104,7 +105,7 @@ module.exports = React.createClass({
var lowPriorityClasses = classNames({ var lowPriorityClasses = classNames({
'mx_RoomTagContextMenu_field': true, 'mx_RoomTagContextMenu_field': true,
'mx_RoomTagContextMenu_fieldSet': !this.state.areNotifsMuted, 'mx_RoomTagContextMenu_fieldSet': true,
}); });
var leaveClasses = classNames({ var leaveClasses = classNames({

View File

@ -116,13 +116,13 @@ limitations under the License.
} }
.mx_RoomTile .mx_RoomTile_badge.mx_RoomTile_badgeButton, .mx_RoomTile .mx_RoomTile_badge.mx_RoomTile_badgeButton,
.mx_RoomTile.mx_RoomTile_menu .mx_RoomTile_badge { .mx_RoomTile.mx_RoomTile_notificationStateMenu .mx_RoomTile_badge {
letter-spacing: 0.1em; letter-spacing: 0.1em;
opacity: 1; opacity: 1;
} }
.mx_RoomTile.mx_RoomTile_noBadges .mx_RoomTile_badge.mx_RoomTile_badgeButton, .mx_RoomTile.mx_RoomTile_noBadges .mx_RoomTile_badge.mx_RoomTile_badgeButton,
.mx_RoomTile.mx_RoomTile_menu.mx_RoomTile_noBadges .mx_RoomTile_badge { .mx_RoomTile.mx_RoomTile_notificationStateMenu.mx_RoomTile_noBadges .mx_RoomTile_badge {
background-color: rgb(214, 214, 214); background-color: rgb(214, 214, 214);
} }