Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow CaptureStrategy to specify Pictures subdirectory #276

Merged
merged 1 commit into from
Sep 14, 2018
Merged

Allow CaptureStrategy to specify Pictures subdirectory #276

merged 1 commit into from
Sep 14, 2018

Conversation

oxc
Copy link
Contributor

@oxc oxc commented Dec 8, 2017

Our app currently stores captured images in a subfolder of the Pictures directory, similar to Hangouts, Facebook Messenger, etc. do it. To retain this behaviour, this patch adds an optional "directory" property to the CaptureStrategy, which if non-null gets appended to the path.

Ideally we would also like to customize the filename template, but I'm unsure how much customization you would want to allow there.

@REBOOTERS REBOOTERS merged commit 2687f00 into zhihu:master Sep 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants