fix: media not response for reblog issue
This commit is contained in:
parent
988723691e
commit
6a8dee037f
|
@ -71,6 +71,7 @@ extension StatusTableViewCellDelegate where Self: StatusProvider {
|
|||
toot(for: cell, indexPath: indexPath)
|
||||
.sink { [weak self] toot in
|
||||
guard let self = self else { return }
|
||||
let toot = toot?.reblog ?? toot
|
||||
guard let media = (toot?.mediaAttachments ?? Set()).first else { return }
|
||||
guard let videoPlayerViewModel = self.context.videoPlaybackService.dequeueVideoPlayerViewModel(for: media) else { return }
|
||||
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
//
|
||||
// PlayerContainerView+MediaTypeIndicotorView.swift
|
||||
// Mastodon
|
||||
//
|
||||
// Created by MainasuK Cirno on 2021-3-15.
|
||||
//
|
||||
|
||||
import Foundation
|
Loading…
Reference in New Issue