From 5d0d7733c3355529f6c58986b933e093199802a3 Mon Sep 17 00:00:00 2001 From: "B. Petersen" Date: Thu, 9 Jan 2025 18:15:53 +0100 Subject: [PATCH] remove unused var --- deltachat-ios/Controller/FilesViewController.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deltachat-ios/Controller/FilesViewController.swift b/deltachat-ios/Controller/FilesViewController.swift index 3512cc241..5a5cd8af7 100644 --- a/deltachat-ios/Controller/FilesViewController.swift +++ b/deltachat-ios/Controller/FilesViewController.swift @@ -186,7 +186,7 @@ extension FilesViewController: UITableViewDelegate, UITableViewDataSource { identifier: nil, previewProvider: nil, actionProvider: { [weak self] _ in - guard let self, let userDefaults = UserDefaults.shared else { return nil } + guard let self else { return nil } var children: [UIMenuElement] = [ UIAction.menuAction(localizationKey: "show_in_chat", systemImageName: "doc.text.magnifyingglass", indexPath: indexPath, action: { self.redirectToMessage(of: $0) }),