Skip to content

Commit

Permalink
hide 'attach' button on sending messages
Browse files Browse the repository at this point in the history
  • Loading branch information
r10s committed Feb 20, 2025
1 parent 2970110 commit 8d7a7f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deltachat-ios/Chat/ChatViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -708,7 +708,7 @@ class ChatViewController: UITableViewController, UITableViewDropDelegate {
messageInputBar.inputTextView.resignFirstResponder()
} else {
messageInputBar.setMiddleContentView(messageInputBar.inputTextView, animated: false)
messageInputBar.setLeftStackViewWidthConstant(to: 40, animated: false)
messageInputBar.setLeftStackViewWidthConstant(to: draft.sendEditRequestFor == nil ? 40 : 0, animated: false)
messageInputBar.setRightStackViewWidthConstant(to: 40, animated: false)
messageInputBar.padding = UIEdgeInsets(top: 6, left: 6, bottom: 6, right: 12)
inputAccessoryView = messageInputBar
Expand Down

0 comments on commit 8d7a7f7

Please sign in to comment.