From 8f93b6aedde8904f4e193d46fc406a748028a20a Mon Sep 17 00:00:00 2001 From: "B. Petersen" Date: Fri, 17 Jan 2025 20:41:17 +0100 Subject: [PATCH] a single 'Cancel' button is usually left of a view controller according to human interface guidelines (this issue became more obvious as 'Contact' is now the fist item in the attach menu) --- deltachat-ios/Chat/Send Contact/SendContactViewController.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deltachat-ios/Chat/Send Contact/SendContactViewController.swift b/deltachat-ios/Chat/Send Contact/SendContactViewController.swift index 0107eeef4..a102891b5 100644 --- a/deltachat-ios/Chat/Send Contact/SendContactViewController.swift +++ b/deltachat-ios/Chat/Send Contact/SendContactViewController.swift @@ -47,7 +47,7 @@ class SendContactViewController: UIViewController { setupConstraints() let cancelButton = UIBarButtonItem(barButtonSystemItem: .cancel, target: self, action: #selector(SendContactViewController.cancel(_:))) - navigationItem.rightBarButtonItem = cancelButton + navigationItem.leftBarButtonItem = cancelButton searchController.searchResultsUpdater = self navigationItem.searchController = searchController