mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-08 08:31:13 +00:00
Bug fixes
This commit is contained in:
parent
64e3df0d84
commit
89c7891f94
@ -607,7 +607,7 @@ private func peerInfoPersonalChannel(context: AccountContext, peerId: EnginePeer
|
||||
for i in (0 ..< view.entries.count).reversed() {
|
||||
if messages.isEmpty {
|
||||
messages.append(EngineMessage(view.entries[i].message))
|
||||
} else if messages[0].groupingKey == view.entries[i].message.groupingKey {
|
||||
} else if messages[0].groupingKey != nil && messages[0].groupingKey == view.entries[i].message.groupingKey {
|
||||
messages.append(EngineMessage(view.entries[i].message))
|
||||
}
|
||||
}
|
||||
|
@ -78,7 +78,7 @@ private final class ChatBusinessLinkTitlePanelComponent: Component {
|
||||
transition: transition,
|
||||
component: AnyComponent(PlainButtonComponent(
|
||||
content: AnyComponent(MultilineTextComponent(
|
||||
text: .plain(NSAttributedString(string: "Copy Link", font: Font.regular(17.0), textColor: component.theme.rootController.navigationBar.accentTextColor))
|
||||
text: .plain(NSAttributedString(string: component.strings.GroupInfo_InviteLink_CopyLink, font: Font.regular(17.0), textColor: component.theme.rootController.navigationBar.accentTextColor))
|
||||
)),
|
||||
effectAlignment: .center,
|
||||
minSize: CGSize(width: floor(availableSize.width * 0.5), height: size.height),
|
||||
@ -107,7 +107,7 @@ private final class ChatBusinessLinkTitlePanelComponent: Component {
|
||||
transition: transition,
|
||||
component: AnyComponent(PlainButtonComponent(
|
||||
content: AnyComponent(MultilineTextComponent(
|
||||
text: .plain(NSAttributedString(string: "Share Link", font: Font.regular(17.0), textColor: component.theme.rootController.navigationBar.accentTextColor))
|
||||
text: .plain(NSAttributedString(string: component.strings.GroupInfo_InviteLink_ShareLink, font: Font.regular(17.0), textColor: component.theme.rootController.navigationBar.accentTextColor))
|
||||
)),
|
||||
effectAlignment: .center,
|
||||
minSize: CGSize(width: floor(availableSize.width * 0.5), height: size.height),
|
||||
|
Loading…
x
Reference in New Issue
Block a user