Update mute icon in profile
This commit is contained in:
parent
0ee6fcb6bc
commit
ac5100b3b2
@ -281,7 +281,7 @@ define([
|
|||||||
var isMuted = muted[data.curvePublic];
|
var isMuted = muted[data.curvePublic];
|
||||||
if (isMuted) {
|
if (isMuted) {
|
||||||
var unmuteButton = h('button.btn.btn-secondary.cp-app-profile-friend-request', [
|
var unmuteButton = h('button.btn.btn-secondary.cp-app-profile-friend-request', [
|
||||||
h('i.fa.fa-ban'),
|
h('i.fa.fa-bell'),
|
||||||
Messages.contacts_unmute || 'unmute'
|
Messages.contacts_unmute || 'unmute'
|
||||||
]);
|
]);
|
||||||
$(unmuteButton).click(function () {
|
$(unmuteButton).click(function () {
|
||||||
@ -293,7 +293,7 @@ define([
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
var muteButton = h('button.btn.btn-danger.cp-app-profile-friend-request', [
|
var muteButton = h('button.btn.btn-danger.cp-app-profile-friend-request', [
|
||||||
h('i.fa.fa-ban'),
|
h('i.fa.fa-bell-slash'),
|
||||||
Messages.contacts_mute || 'mute'
|
Messages.contacts_mute || 'mute'
|
||||||
]);
|
]);
|
||||||
$(muteButton).click(function () {
|
$(muteButton).click(function () {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user