Skip to content

Commit 63de291

Browse files
author
isaac
committed
Adjust inset
1 parent e541f80 commit 63de291

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎submodules/TelegramUI/Components/RichTextAttachmentScreen/Sources/RichTextAttachmentScreen.swift‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1474,7 +1474,7 @@ final class RichTextAttachmentScreenComponent: Component {
14741474
// Only one of (system keyboard / emoji panel) is up at a time (the emoji panel uses an
14751475
// EmptyInputView, so inputHeight ≈ 0 while it shows); the home-indicator safe area is the floor.
14761476
_ = self.editor.update(size: editorFrame.size,
1477-
insets: UIEdgeInsets(top: editorTop, left: 0.0, bottom: bottomInset, right: 0.0),
1477+
insets: UIEdgeInsets(top: editorTop, left: 0.0, bottom: bottomInset + 16.0, right: 0.0),
14781478
contentMargins: UIEdgeInsets(top: 12.0, left: 0.0, bottom: 12.0, right: 0.0))
14791479

14801480
// Top edge effect (mirrors ComposePollScreen): a blurred gradient at the screen top that content

0 commit comments

Comments
 (0)