wordpress-mobile / MediaPicker-iOS

WPMediaPicker is an iOS controller that allows capture and picking of media assets.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Refactor filter options to use a flag enum

SergioEstevao opened this issue · comments

I propose to change the WPMediaType enum to flag enum/options type.

This will avoid to have the value WPMediaTypeImageOrVideo and instead allow combination of enum like WPMediaTypeImage | WPMediaTypeVideo