2
2
mirror of https://github.com/mastodon/mastodon-ios synced 2025-04-11 22:58:02 +02:00
This commit is contained in:
Marcus Kida 2023-05-08 15:25:11 +02:00
parent 92704dc7f7
commit d253143969
No known key found for this signature in database
GPG Key ID: 19FF64E08013CA40
7 changed files with 7 additions and 7 deletions

View File

@ -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()

View File

@ -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()

View File

@ -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()

View File

@ -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()

View File

@ -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()

View File

@ -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()

View File

@ -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()