Fix reblog taken into account when translating status on home timeline (IOS-271)
This commit is contained in:
parent
972426fa50
commit
ad8d5e6e69
|
@ -317,7 +317,7 @@ extension DataSourceFacade {
|
|||
performDeletion(of: status, with: dependency)
|
||||
}
|
||||
case .translateStatus:
|
||||
guard let status = menuContext.statusViewModel?.originalStatus else { return }
|
||||
guard let status = menuContext.statusViewModel?.originalStatus?.reblog ?? menuContext.statusViewModel?.originalStatus else { return }
|
||||
|
||||
do {
|
||||
let translation = try await DataSourceFacade.translateStatus(provider: dependency,status: status)
|
||||
|
|
Loading…
Reference in New Issue