Browse Source

Fixed emoji icons, verified tick

master
Igor Zhukov 9 years ago
parent
commit
4911b0266c
  1. BIN
      app/img/icons/IconsetSmiles.png
  2. BIN
      app/img/icons/IconsetSmiles_2x.png
  3. 2
      app/js/directives.js
  4. 1
      app/js/messages_manager.js
  5. 14
      app/less/app.less

BIN
app/img/icons/IconsetSmiles.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 KiB

After

Width:  |  Height:  |  Size: 4.4 KiB

BIN
app/img/icons/IconsetSmiles_2x.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.7 KiB

After

Width:  |  Height:  |  Size: 7.6 KiB

2
app/js/directives.js

@ -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>' : '')
); );
} }
}; };

1
app/js/messages_manager.js

@ -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;

14
app/less/app.less

@ -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 {

Loading…
Cancel
Save