From a4b651f6d460e3a09b3df050fdea80fc4ad487c6 Mon Sep 17 00:00:00 2001 From: Elaine <138257830+elaine-signal@users.noreply.github.com> Date: Tue, 7 Oct 2025 12:54:56 -0400 Subject: [PATCH] Update story info sheet alignment --- .../ViewControllers/HomeView/Stories/StoryInfoSheet.swift | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Signal/src/ViewControllers/HomeView/Stories/StoryInfoSheet.swift b/Signal/src/ViewControllers/HomeView/Stories/StoryInfoSheet.swift index 4c4dc43c5c..1d9029d024 100644 --- a/Signal/src/ViewControllers/HomeView/Stories/StoryInfoSheet.swift +++ b/Signal/src/ViewControllers/HomeView/Stories/StoryInfoSheet.swift @@ -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 }