From d253143969d4d1e542cf0b59e7aa60118814cce2 Mon Sep 17 00:00:00 2001 From: Marcus Kida Date: Mon, 8 May 2023 15:25:11 +0200 Subject: [PATCH] Fix typo --- .../FamiliarFollowers/FamiliarFollowersViewController.swift | 2 +- .../Scene/Profile/Follower/FollowerListViewController.swift | 2 +- .../Scene/Profile/Following/FollowingListViewController.swift | 2 +- .../UserLIst/FavoritedBy/FavoritedByViewController.swift | 2 +- .../UserLIst/RebloggedBy/RebloggedByViewController.swift | 2 +- .../SearchHistory/SearchHistoryViewController.swift | 2 +- .../SearchDetail/SearchResult/SearchResultViewController.swift | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Mastodon/Scene/Profile/FamiliarFollowers/FamiliarFollowersViewController.swift b/Mastodon/Scene/Profile/FamiliarFollowers/FamiliarFollowersViewController.swift index 2f2cf4f59..a43757575 100644 --- a/Mastodon/Scene/Profile/FamiliarFollowers/FamiliarFollowersViewController.swift +++ b/Mastodon/Scene/Profile/FamiliarFollowers/FamiliarFollowersViewController.swift @@ -101,7 +101,7 @@ extension FamiliarFollowersViewController: UserTableViewCellDelegate { user: user.asRecord, buttonState: state ) - DispatchQueue.main.asyncAfter(deadline: .now() + 0.3) { // hack: otherwise fetchinbg the blocked users will not return the user followed + DispatchQueue.main.asyncAfter(deadline: .now() + 0.3) { // hack: otherwise fetching the blocked users will not return the user followed Task { @MainActor in try await self.viewModel.fetchFollowedBlockedUserIds() self.tableView.reloadData() diff --git a/Mastodon/Scene/Profile/Follower/FollowerListViewController.swift b/Mastodon/Scene/Profile/Follower/FollowerListViewController.swift index 13e5d30e6..d2dfd7054 100644 --- a/Mastodon/Scene/Profile/Follower/FollowerListViewController.swift +++ b/Mastodon/Scene/Profile/Follower/FollowerListViewController.swift @@ -127,7 +127,7 @@ extension FollowerListViewController: UserTableViewCellDelegate { user: user.asRecord, buttonState: state ) - DispatchQueue.main.asyncAfter(deadline: .now() + 0.3) { // hack: otherwise fetchinbg the blocked users will not return the user followed + DispatchQueue.main.asyncAfter(deadline: .now() + 0.3) { // hack: otherwise fetching the blocked users will not return the user followed Task { @MainActor in try await self.viewModel.fetchFollowedBlockedUserIds() self.tableView.reloadData() diff --git a/Mastodon/Scene/Profile/Following/FollowingListViewController.swift b/Mastodon/Scene/Profile/Following/FollowingListViewController.swift index a9f2eaaed..f329cf63a 100644 --- a/Mastodon/Scene/Profile/Following/FollowingListViewController.swift +++ b/Mastodon/Scene/Profile/Following/FollowingListViewController.swift @@ -125,7 +125,7 @@ extension FollowingListViewController: UserTableViewCellDelegate { user: user.asRecord, buttonState: state ) - DispatchQueue.main.asyncAfter(deadline: .now() + 0.3) { // hack: otherwise fetchinbg the blocked users will not return the user followed + DispatchQueue.main.asyncAfter(deadline: .now() + 0.3) { // hack: otherwise fetching the blocked users will not return the user followed Task { @MainActor in try await self.viewModel.fetchFollowedBlockedUserIds() self.tableView.reloadData() diff --git a/Mastodon/Scene/Profile/UserLIst/FavoritedBy/FavoritedByViewController.swift b/Mastodon/Scene/Profile/UserLIst/FavoritedBy/FavoritedByViewController.swift index 66e948f78..3b039f677 100644 --- a/Mastodon/Scene/Profile/UserLIst/FavoritedBy/FavoritedByViewController.swift +++ b/Mastodon/Scene/Profile/UserLIst/FavoritedBy/FavoritedByViewController.swift @@ -119,7 +119,7 @@ extension FavoritedByViewController: UserTableViewCellDelegate { user: user.asRecord, buttonState: state ) - DispatchQueue.main.asyncAfter(deadline: .now() + 0.3) { // hack: otherwise fetchinbg the blocked users will not return the user followed + DispatchQueue.main.asyncAfter(deadline: .now() + 0.3) { // hack: otherwise fetching the blocked users will not return the user followed Task { @MainActor in try await self.viewModel.fetchFollowedBlockedUserIds() self.tableView.reloadData() diff --git a/Mastodon/Scene/Profile/UserLIst/RebloggedBy/RebloggedByViewController.swift b/Mastodon/Scene/Profile/UserLIst/RebloggedBy/RebloggedByViewController.swift index c5683e453..a34807d00 100644 --- a/Mastodon/Scene/Profile/UserLIst/RebloggedBy/RebloggedByViewController.swift +++ b/Mastodon/Scene/Profile/UserLIst/RebloggedBy/RebloggedByViewController.swift @@ -119,7 +119,7 @@ extension RebloggedByViewController: UserTableViewCellDelegate { user: user.asRecord, buttonState: state ) - DispatchQueue.main.asyncAfter(deadline: .now() + 0.3) { // hack: otherwise fetchinbg the blocked users will not return the user followed + DispatchQueue.main.asyncAfter(deadline: .now() + 0.3) { // hack: otherwise fetching the blocked users will not return the user followed Task { @MainActor in try await self.viewModel.fetchFollowedBlockedUserIds() self.tableView.reloadData() diff --git a/Mastodon/Scene/Search/SearchDetail/SearchHistory/SearchHistoryViewController.swift b/Mastodon/Scene/Search/SearchDetail/SearchHistory/SearchHistoryViewController.swift index b0b2df60d..0d74faa48 100644 --- a/Mastodon/Scene/Search/SearchDetail/SearchHistory/SearchHistoryViewController.swift +++ b/Mastodon/Scene/Search/SearchDetail/SearchHistory/SearchHistoryViewController.swift @@ -138,7 +138,7 @@ extension SearchHistoryViewController: SearchHistorySectionHeaderCollectionReusa user: user.asRecord, buttonState: state ) - DispatchQueue.main.asyncAfter(deadline: .now() + 0.3) { // hack: otherwise fetchinbg the blocked users will not return the user followed + DispatchQueue.main.asyncAfter(deadline: .now() + 0.3) { // hack: otherwise fetching the blocked users will not return the user followed Task { @MainActor in try await self.viewModel.fetchFollowedBlockedUserIds() self.collectionView.reloadData() diff --git a/Mastodon/Scene/Search/SearchDetail/SearchResult/SearchResultViewController.swift b/Mastodon/Scene/Search/SearchDetail/SearchResult/SearchResultViewController.swift index 54586a6e6..d559d5887 100644 --- a/Mastodon/Scene/Search/SearchDetail/SearchResult/SearchResultViewController.swift +++ b/Mastodon/Scene/Search/SearchDetail/SearchResult/SearchResultViewController.swift @@ -267,7 +267,7 @@ extension SearchResultViewController: UserTableViewCellDelegate { user: user.asRecord, buttonState: state ) - DispatchQueue.main.asyncAfter(deadline: .now() + 0.3) { // hack: otherwise fetchinbg the blocked users will not return the user followed + DispatchQueue.main.asyncAfter(deadline: .now() + 0.3) { // hack: otherwise fetching the blocked users will not return the user followed Task { @MainActor in try await self.viewModel.fetchFollowedBlockedUserIds() self.tableView.reloadData()