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