mirror of
https://github.com/mastodon/mastodon-ios
synced 2025-04-11 22:58:02 +02:00
Remove user (IOS-192)
This commit is contained in:
parent
460ede4852
commit
f241232972
@ -42,8 +42,6 @@ extension DataSourceFacade {
|
||||
try? FileManager.default.addSearchItem(searchEntry, for: provider.authContext.mastodonAuthenticationBox)
|
||||
case .status:
|
||||
break
|
||||
case .user(_):
|
||||
break
|
||||
case .notification:
|
||||
break
|
||||
|
||||
|
@ -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:
|
||||
|
@ -693,8 +693,6 @@ extension StatusTableViewCellDelegate where Self: DataSourceProvider & AuthConte
|
||||
provider: self,
|
||||
account: account
|
||||
)
|
||||
case .user(_):
|
||||
assertionFailure("TODO")
|
||||
case .notification:
|
||||
assertionFailure("TODO")
|
||||
case .hashtag(_):
|
||||
|
@ -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,
|
||||
|
@ -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?)
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user