Skip to content
This repository has been archived by the owner on Feb 8, 2023. It is now read-only.

Commit

Permalink
Merge pull request #9 from teambition/dev
Browse files Browse the repository at this point in the history
Fix media type to video
  • Loading branch information
wzxha authored Apr 17, 2018
2 parents 18361c4 + 0c2d5d6 commit 5039d54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PhotoPicker/AssetsViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ extension AssetsViewController {

let asset = assetsFetchResults[indexPath.item]

if asset.mediaType == .audio, !canSelectVideo {
if asset.mediaType == .video, !canSelectVideo {
return false
}

Expand Down

0 comments on commit 5039d54

Please sign in to comment.