diff --git a/TelegramTest/DialogTableItemView.m b/TelegramTest/DialogTableItemView.m index c897ca6b..385713fc 100644 --- a/TelegramTest/DialogTableItemView.m +++ b/TelegramTest/DialogTableItemView.m @@ -47,7 +47,7 @@ - (void)draw { NSSize size = self.undreadSize; float width = MAX(22, size.width + 14); - [self setFrame:NSMakeRect(62 - width, 6, width, 22)]; + [self setFrame:NSMakeRect(62 - width, 40, width, 22)]; [self setNeedsDisplay:YES]; } @@ -71,7 +71,8 @@ - (void)drawRect:(NSRect)dirtyRect { [[NSColor whiteColor] setStroke]; [path stroke]; - [NSColorFromRGB(0x60b8ea) setFill]; +// [NSColorFromRGB(0x60b8ea) setFill]; + [NSColorFromRGB(0xf73B39) setFill]; [path fill]; [[NSColor whiteColor] set]; @@ -365,7 +366,8 @@ - (void)drawUnreadCount { [NSColorFromRGB(0xffffff) set]; } else { - [NSColorFromRGB(0x60b8ea) set]; +// [NSColorFromRGB(0x60b8ea) set]; + [NSColorFromRGB(0xf73B39) set]; } [path fill]; [path closePath]; @@ -408,7 +410,7 @@ - (void)setItem:(id)item selected:(BOOL)isSelected { - (void)redrawRow { [super redrawRow]; -// [self.shortUnreadCount draw]; + self.shortUnreadCount.unreadCount = [self rowItem].unreadTextCount; DialogTableItem *item = [self rowItem]; diff --git a/TelegramTest/SettingsWindowController.xib b/TelegramTest/SettingsWindowController.xib index 6ffe7768..5cc447e3 100644 --- a/TelegramTest/SettingsWindowController.xib +++ b/TelegramTest/SettingsWindowController.xib @@ -120,7 +120,7 @@ - + diff --git a/TelegramTest/de.lproj/Localizable.strings b/TelegramTest/de.lproj/Localizable.strings index 51c77111..50ca6e15 100644 Binary files a/TelegramTest/de.lproj/Localizable.strings and b/TelegramTest/de.lproj/Localizable.strings differ diff --git a/TelegramTest/en.lproj/Localizable.strings b/TelegramTest/en.lproj/Localizable.strings index 51b1844e..b77f2d5b 100644 Binary files a/TelegramTest/en.lproj/Localizable.strings and b/TelegramTest/en.lproj/Localizable.strings differ diff --git a/TelegramTest/ru.lproj/Localizable.strings b/TelegramTest/ru.lproj/Localizable.strings index 206fe7e4..7de35646 100644 Binary files a/TelegramTest/ru.lproj/Localizable.strings and b/TelegramTest/ru.lproj/Localizable.strings differ