Merge pull request #1606 from docker/remove-localstorage

Remove localstorage
This commit is contained in:
French Ben 2016-04-06 15:16:53 -07:00
commit fb0445af7c
3 changed files with 1 additions and 3 deletions

View File

@ -32,6 +32,7 @@ var ContainerHome = React.createClass({
},
handleErrorClick: function () {
// Display wiki for proxy: https://github.com/docker/kitematic/wiki/Common-Proxy-Issues-&-Fixes
shell.openExternal('https://github.com/kitematic/kitematic/issues/new');
},

View File

@ -39,7 +39,6 @@ export default {
async useVbox () {
metrics.track('Retried Setup with VBox');
localStorage.setItem('settings.useNative', false);
router.get().transitionTo('loading');
setupServerActions.error({ error: { message: null }});
_retryPromise.resolve();
@ -70,7 +69,6 @@ export default {
while (true) {
try {
if (util.isNative()) {
localStorage.setItem('setting.useNative', true);
let stats = fs.statSync('/var/run/docker.sock');
if (stats.isSocket()) {
await this.nativeSetup();

View File

@ -38,7 +38,6 @@ module.exports = {
return process.platform === 'linux';
},
isNative: function () {
// let native = JSON.parse(localStorage.getItem('settings.useNative'));
let native = null;
if (native === null) {
try {