peter-iakovlev / Telegram

Telegram Messenger for iOS
3.23k stars 858 forks source link

[iOS] Telegram is not showing upper label after iOS update #77

Open scferrada opened 7 years ago

scferrada commented 7 years ago

I have reinstalled the app and the problem persists. It doesn't show the "Chats" label and when inside a conversation it won't show the user last time seen or who is writing on a group.

casevictor commented 7 years ago

@scferrada I did this work around

At TGNavigationBar.m

- (void)insertSubview:(UIView *)view atIndex:(NSInteger)index
{
    [super insertSubview:view atIndex:MIN((int)self.subviews.count, MAX(index, 2))];
}

Replace with

- (void)insertSubview:(UIView *)view atIndex:(NSInteger)index
{
    [super insertSubview:view atIndex:index - 1];
}