From b7258dc7f2b1d6c2f312af0c16a5fa8ed55251f5 Mon Sep 17 00:00:00 2001 From: CMK Date: Mon, 19 Apr 2021 19:15:49 +0800 Subject: [PATCH] fix: set reveal button hidden in the compose scene --- .../ComposeRepliedToStatusContentCollectionViewCell.swift | 1 + .../ComposeStatusContentCollectionViewCell.swift | 1 + 2 files changed, 2 insertions(+) diff --git a/Mastodon/Scene/Compose/CollectionViewCell/ComposeRepliedToStatusContentCollectionViewCell.swift b/Mastodon/Scene/Compose/CollectionViewCell/ComposeRepliedToStatusContentCollectionViewCell.swift index 275f545df..8da4c0729 100644 --- a/Mastodon/Scene/Compose/CollectionViewCell/ComposeRepliedToStatusContentCollectionViewCell.swift +++ b/Mastodon/Scene/Compose/CollectionViewCell/ComposeRepliedToStatusContentCollectionViewCell.swift @@ -46,6 +46,7 @@ extension ComposeRepliedToStatusContentCollectionViewCell { backgroundColor = .clear statusView.actionToolbarContainer.isHidden = true + statusView.revealContentWarningButton.isHidden = true statusView.translatesAutoresizingMaskIntoConstraints = false contentView.addSubview(statusView) diff --git a/Mastodon/Scene/Compose/CollectionViewCell/ComposeStatusContentCollectionViewCell.swift b/Mastodon/Scene/Compose/CollectionViewCell/ComposeStatusContentCollectionViewCell.swift index 2b71e55f3..5ec2a9eeb 100644 --- a/Mastodon/Scene/Compose/CollectionViewCell/ComposeStatusContentCollectionViewCell.swift +++ b/Mastodon/Scene/Compose/CollectionViewCell/ComposeStatusContentCollectionViewCell.swift @@ -90,6 +90,7 @@ extension ComposeStatusContentCollectionViewCell { textEditorView.changeObserver = self statusContentWarningEditorView.containerView.isHidden = true + statusView.revealContentWarningButton.isHidden = true } }