Update story info sheet alignment

This commit is contained in:
Elaine 2025-10-07 12:54:56 -04:00 committed by GitHub
parent 9bf4b22bb5
commit a4b651f6d4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -49,6 +49,8 @@ class StoryInfoSheet: OWSTableSheetViewController {
metadataSection.add(.init(customCellBlock: { [weak self] in
let cell = OWSTableItem.newCell()
cell.selectionStyle = .none
cell.layoutMargins = .zero
cell.contentView.layoutMargins = .zero
guard let stackView = self?.buildMetadataStackView() else { return cell }
cell.contentView.addSubview(stackView)
@ -276,6 +278,10 @@ class StoryInfoSheet: OWSTableSheetViewController {
)
cell.configure(configuration: configuration, transaction: transaction)
}
cell.layoutMargins = .zero
cell.contentView.layoutMargins = .zero
cell.overrideUserInterfaceStyle = .dark
return cell
}, actionBlock: { [weak self] in
guard let self = self else { return }