mirror of https://github.com/keeweb/keeweb.git
Fixed storages, comment android launcher for now
This commit is contained in:
parent
1f752ffbdd
commit
7f22893bb6
|
@ -5,7 +5,7 @@ let Launcher;
|
|||
if (window.process && window.process.versions && window.process.versions.electron) {
|
||||
Launcher = require('./launcher-electron');
|
||||
} else if (window.cordova) {
|
||||
Launcher = require('./launcher-android');
|
||||
// Launcher = require('./launcher-android');
|
||||
}
|
||||
|
||||
module.exports = Launcher;
|
||||
|
|
|
@ -14,12 +14,4 @@ const ThirdPartyStorage = {
|
|||
onedrive: require('./storage-onedrive')
|
||||
};
|
||||
|
||||
let Storage = [];
|
||||
|
||||
if (window.cordova) {
|
||||
Storage = FileStorage;
|
||||
} else {
|
||||
Storage = FileStorage.concat(ThirdPartyStorage);
|
||||
}
|
||||
|
||||
module.exports = Storage;
|
||||
module.exports = Object.assign(FileStorage, ThirdPartyStorage);
|
||||
|
|
Loading…
Reference in New Issue