Skip to content

Conversation

@rullzer
Copy link
Member

@rullzer rullzer commented Oct 8, 2018

To allow us to create previews of files stored in appdata we need to
construct the view differently.

Signed-off-by: Roeland Jago Douma roeland@famdouma.nl

$view = new View($userFolder->getPath());
$path = $userFolder->getRelativePath($file->getPath());
} else {
$view = new View($file->getParent()->getPath());
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cant you always use this code path?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes should work.

To allow us to create previews of files stored in appdata we need to
construct the view differently.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
@rullzer rullzer force-pushed the feature/appdata_previews branch from 34db505 to ade61d8 Compare October 8, 2018 17:38
@rullzer
Copy link
Member Author

rullzer commented Oct 8, 2018

Ready for review

Copy link
Member

@MorrisJobke MorrisJobke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested and works 👍 Also the code makes sense

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants