Update story info sheet alignment
This commit is contained in:
parent
9bf4b22bb5
commit
a4b651f6d4
@ -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 }
|
||||
|
||||
Loading…
Reference in New Issue
Block a user