mirror of
https://github.com/ichmagmaus111/ghostgram.git
synced 2026-06-10 12:03:53 +02:00
feat: новые функции, исправлены критические ошибки сборки и баги интерфейса, больше подписей в файлах
This commit is contained in:
+6
-6
@@ -133,7 +133,7 @@ public func giftOfferAlertController(
|
||||
HStack(items, spacing: 4.0)
|
||||
)
|
||||
|
||||
tableItems.append(.init(
|
||||
tableItems.append(TableComponent.Item(
|
||||
id: id,
|
||||
title: title,
|
||||
hasBackground: false,
|
||||
@@ -180,12 +180,12 @@ public func giftOfferAlertController(
|
||||
AlertTextComponent(content: .plain(text))
|
||||
)
|
||||
))
|
||||
content.append(AnyComponentWithIdentity(
|
||||
let tableComponent = AnyComponent(AlertTableComponent(items: tableItems))
|
||||
let tableEntry = AnyComponentWithIdentity<AlertComponentEnvironment>(
|
||||
id: "table",
|
||||
component: AnyComponent(
|
||||
AlertTableComponent(items: tableItems)
|
||||
)
|
||||
))
|
||||
component: tableComponent
|
||||
)
|
||||
content.append(tableEntry)
|
||||
|
||||
if let valueAmount = gift.valueUsdAmount {
|
||||
let resaleConfiguration = StarsSubscriptionConfiguration.with(appConfiguration: context.currentAppConfiguration.with { $0 })
|
||||
|
||||
+6
-6
@@ -118,7 +118,7 @@ public func giftTransferAlertController(
|
||||
HStack(items, spacing: 4.0)
|
||||
)
|
||||
|
||||
tableItems.append(.init(
|
||||
tableItems.append(TableComponent.Item(
|
||||
id: id,
|
||||
title: title,
|
||||
hasBackground: false,
|
||||
@@ -165,12 +165,12 @@ public func giftTransferAlertController(
|
||||
AlertTextComponent(content: .plain(text))
|
||||
)
|
||||
))
|
||||
content.append(AnyComponentWithIdentity(
|
||||
let tableComponent = AnyComponent(AlertTableComponent(items: tableItems))
|
||||
let tableEntry = AnyComponentWithIdentity<AlertComponentEnvironment>(
|
||||
id: "table",
|
||||
component: AnyComponent(
|
||||
AlertTableComponent(items: tableItems)
|
||||
)
|
||||
))
|
||||
component: tableComponent
|
||||
)
|
||||
content.append(tableEntry)
|
||||
|
||||
let alertController = ChatMessagePaymentAlertController(
|
||||
context: context,
|
||||
|
||||
Reference in New Issue
Block a user