forked from shadowfacts/Tusker
Fix grayscale images preference not applying to gifvs
This commit is contained in:
parent
d36e0ad27d
commit
072bb0daf0
|
@ -23,7 +23,7 @@ class GifvController {
|
||||||
|
|
||||||
init(asset: AVAsset) {
|
init(asset: AVAsset) {
|
||||||
self.asset = asset
|
self.asset = asset
|
||||||
self.item = AVPlayerItem(asset: asset)
|
self.item = GifvController.createItem(asset: asset)
|
||||||
self.player = AVPlayer(playerItem: item)
|
self.player = AVPlayer(playerItem: item)
|
||||||
|
|
||||||
self.isGrayscale = Preferences.shared.grayscaleImages
|
self.isGrayscale = Preferences.shared.grayscaleImages
|
||||||
|
|
Loading…
Reference in New Issue