From 28fd6f2fabe8de928c056f2b1a5b027a596827bc Mon Sep 17 00:00:00 2001 From: Nathan Mattes Date: Fri, 2 Aug 2024 13:00:16 +0200 Subject: [PATCH] Fix build :facepalm: (#2242) --- deltachat-ios/Controller/ChatListViewController.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deltachat-ios/Controller/ChatListViewController.swift b/deltachat-ios/Controller/ChatListViewController.swift index 17d9ca1b7..284576e43 100644 --- a/deltachat-ios/Controller/ChatListViewController.swift +++ b/deltachat-ios/Controller/ChatListViewController.swift @@ -227,8 +227,8 @@ class ChatListViewController: UITableViewController { } @objc private func handleIncomingMessageOnAnyAccount(_ notification: Notification) { - DispatchQueue.main.async { - updateAccountButton() + DispatchQueue.main.async { [weak self] in + self?.updateAccountButton() } }