Commit cef70754 authored by Martin Santangelo's avatar Martin Santangelo

(fix) can't attach videos into comments

parent 47613deb
......@@ -525,10 +525,10 @@ export default class CommentsStore {
let response;
switch (i) {
case 1:
response = await attachmentService.gallery('photo');
response = await attachmentService.gallery('photo', false);
break;
case 2:
response = await attachmentService.gallery('video');
response = await attachmentService.gallery('video', false);
break;
}
......@@ -545,7 +545,7 @@ export default class CommentsStore {
async gallery(actionSheet) {
if (Platform.OS == 'ios') {
try {
const response = await attachmentService.gallery('mixed');
const response = await attachmentService.gallery('mixed', false);
// nothing selected
if (!response) return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment