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) try? FileManager.default.addSearchItem(searchEntry, for: provider.authContext.mastodonAuthenticationBox)
case .status: case .status:
break break
case .user(_):
break
case .notification: case .notification:
break break

View File

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

View File

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

View File

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

View File

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

View File

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