Remove user (IOS-192)

This commit is contained in:
Nathan Mattes 2023-12-28 23:07:20 +01:00
parent 460ede4852
commit f241232972
6 changed files with 0 additions and 12 deletions

View File

@ -42,8 +42,6 @@ extension DataSourceFacade {
try? FileManager.default.addSearchItem(searchEntry, for: provider.authContext.mastodonAuthenticationBox)
case .status:
break
case .user(_):
break
case .notification:
break

View File

@ -487,8 +487,6 @@ extension NotificationTableViewCellDelegate where Self: DataSourceProvider & Aut
target: .status, // remove reblog wrapper
status: status
)
case .user(let user):
break
case .account(let account, let relationship):
await DataSourceFacade.coordinateToProfileScene(provider: self, account: account)
case .notification:

View File

@ -693,8 +693,6 @@ extension StatusTableViewCellDelegate where Self: DataSourceProvider & AuthConte
provider: self,
account: account
)
case .user(_):
assertionFailure("TODO")
case .notification:
assertionFailure("TODO")
case .hashtag(_):

View File

@ -30,8 +30,6 @@ extension UITableViewDelegate where Self: DataSourceProvider & AuthContextProvid
target: .status, // remove reblog wrapper
status: status
)
case .user(let user):
break
case .hashtag(let tag):
await DataSourceFacade.coordinateToHashtagScene(
provider: self,

View File

@ -13,8 +13,6 @@ import class CoreDataStack.Notification
enum DataSourceItem: Hashable {
case status(record: MastodonStatus)
@available(*, deprecated, message: "Use .account")
case user(record: ManagedObjectRecord<MastodonUser>)
case hashtag(tag: Mastodon.Entity.Tag)
case notification(record: MastodonNotification)
case account(account: Mastodon.Entity.Account, relationship: Mastodon.Entity.Relationship?)

View File

@ -69,8 +69,6 @@ extension SearchResultViewController {
target: .status, // remove reblog wrapper
status: status
)
case .user(let user):
assertionFailure()
case .hashtag(let tag):
await DataSourceFacade.coordinateToHashtagScene(
provider: self,