From 480d1c5265adbad2d28eafa85e8bd995f944c130 Mon Sep 17 00:00:00 2001 From: Nathan Mattes Date: Fri, 20 Oct 2023 18:53:11 +0200 Subject: [PATCH] Deselect table --- .../Provider/DataSourceProvider+UITableViewDelegate.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Mastodon/Protocol/Provider/DataSourceProvider+UITableViewDelegate.swift b/Mastodon/Protocol/Provider/DataSourceProvider+UITableViewDelegate.swift index 611223df8..c45ef4ca1 100644 --- a/Mastodon/Protocol/Provider/DataSourceProvider+UITableViewDelegate.swift +++ b/Mastodon/Protocol/Provider/DataSourceProvider+UITableViewDelegate.swift @@ -14,6 +14,7 @@ import MastodonLocalization extension UITableViewDelegate where Self: DataSourceProvider & AuthContextProvider { func aspectTableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) { + tableView.deselectRow(at: indexPath, animated: true ) Task { let source = DataSourceItem.Source(tableViewCell: nil, indexPath: indexPath) guard let item = await item(from: source) else {