feat share: Ability to share files using Web Activities

feat pick: Ability to pick files for other apps
This commit is contained in:
Mahdi Dibaiee
2015-09-07 15:18:53 +04:30
parent dea2e7591c
commit 18652ed5dc
15 changed files with 273 additions and 55 deletions

15
src/js/actions/pick.js Normal file
View File

@ -0,0 +1,15 @@
import { PICK } from 'actions/types';
export function enable(request) {
return {
type: PICK,
active: request
}
}
export function disable() {
return {
type: PICK,
active: false
}
}

View File

@ -20,14 +20,15 @@ const TYPES = {
MOVE_FILE: Symbol('MOVE_FILE'),
MENU: Symbol('MENU'),
DIALOG: Symbol('DIALOG'),
SPINNER: Symbol('SPINNER'),
SETTINGS: Symbol('SETTINGS'),
SEARCH: Symbol('SEARCH')
SEARCH: Symbol('SEARCH'),
PICK: Symbol('PICK')
};
export default TYPES;