Various fixes

This commit is contained in:
Ilya Laktyushin 2026-04-16 21:45:26 +02:00
parent 31e3a7dc79
commit 532a3ae3e1
27 changed files with 548 additions and 435 deletions

View file

@ -168,8 +168,10 @@ private final class SheetContent: CombinedComponent {
case let .invoice(invoice, replyMarkupValue):
media = [invoice]
replyMarkup = replyMarkupValue
default:
break
case let .webpage(textValue, entitiesValue, _, _, replyMarkupValue):
text = textValue
entities = entitiesValue
replyMarkup = replyMarkupValue
}
case let .externalReference(reference):
switch reference.message {
@ -195,8 +197,10 @@ private final class SheetContent: CombinedComponent {
case let .invoice(invoice, replyMarkupValue):
media = [invoice]
replyMarkup = replyMarkupValue
default:
break
case let .webpage(textValue, entitiesValue, _, _, replyMarkupValue):
text = textValue
entities = entitiesValue
replyMarkup = replyMarkupValue
}
}