Fixed emoji icons, verified tick

This commit is contained in:
Igor Zhukov 2015-10-18 12:58:25 +02:00
parent 962977dbff
commit 4911b0266c
5 changed files with 8 additions and 9 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 KiB

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.7 KiB

After

Width:  |  Height:  |  Size: 7.6 KiB

View File

@ -2659,7 +2659,7 @@ angular.module('myApp.directives', ['myApp.filters'])
element.html( element.html(
(chat.rTitle || '').valueOf() + (chat.rTitle || '').valueOf() +
(attrs.verified && chat.pFlags.verified ? ' <i class="icon-verified"></i>' : '') (attrs.verified && chat.pFlags && chat.pFlags.verified ? ' <i class="icon-verified"></i>' : '')
); );
} }
}; };

View File

@ -192,7 +192,6 @@ angular.module('myApp.services')
var peerID = AppPeersManager.getPeerID(dialog.peer); var peerID = AppPeersManager.getPeerID(dialog.peer);
var channelID = -peerID; var channelID = -peerID;
saveChannelDialog(channelID, dialog); saveChannelDialog(channelID, dialog);
NotificationsManager.savePeerSettings(peerID, dialog.notify_settings);
ApiUpdatesManager.addChannelState(channelID, dialog.pts); ApiUpdatesManager.addChannelState(channelID, dialog.pts);
}); });
allChannelsLoaded = true; allChannelsLoaded = true;

View File

@ -1124,7 +1124,7 @@ i.icon-verified {
height: 17px; height: 17px;
vertical-align: text-top; vertical-align: text-top;
.image-2x('../img/icons/ProfileIcons.png', 40px, 420px); .image-2x('../img/icons/ProfileIcons.png', 40px, 420px);
background-position: -10px -373px; background-position: -11px -373px;
.im_dialogs_scrollable_wrap & { .im_dialogs_scrollable_wrap & {
display: none; display: none;
@ -2537,16 +2537,16 @@ img.img_fullsize {
.active .composer_emoji_tooltip_category_flower {background-position: -3px -155px; } .active .composer_emoji_tooltip_category_flower {background-position: -3px -155px; }
/* Bell */ /* Bell */
.composer_emoji_tooltip_category_bell {background-position: -3px -184px; } .composer_emoji_tooltip_category_bell {background-position: -3px -185px; }
.active .composer_emoji_tooltip_category_bell {background-position: -3px -215px; } .active .composer_emoji_tooltip_category_bell {background-position: -3px -213px; }
/* Car */ /* Car */
.composer_emoji_tooltip_category_car {background-position: -3px -245px; } .composer_emoji_tooltip_category_car {background-position: -3px -241px; }
.active .composer_emoji_tooltip_category_car {background-position: -3px -276px; } .active .composer_emoji_tooltip_category_car {background-position: -3px -269px; }
/* Grid */ /* Grid */
.composer_emoji_tooltip_category_grid {background-position: -3px -304px; } .composer_emoji_tooltip_category_grid {background-position: -3px -297px; }
.active .composer_emoji_tooltip_category_grid {background-position: -3px -335px; } .active .composer_emoji_tooltip_category_grid {background-position: -3px -324px; }
.composer_emoji_tooltip_tabs_wrap { .composer_emoji_tooltip_tabs_wrap {