aboutsummaryrefslogtreecommitdiff
path: root/src/App.js
diff options
context:
space:
mode:
authorshpuld <shp@cock.li>2018-12-23 19:50:19 +0200
committershpuld <shp@cock.li>2018-12-23 19:50:19 +0200
commite46b560ead02ab5d9df8edbb997c56b835aa21d4 (patch)
tree5dc1fb27ff7f41639316de370b80d2e229049465 /src/App.js
parentf72b1d048e636c0637dfb1469c32875bcacce61f (diff)
move closing logic to drawer, add swipe to close
Diffstat (limited to 'src/App.js')
-rw-r--r--src/App.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/App.js b/src/App.js
index 728c8e54..68fae50e 100644
--- a/src/App.js
+++ b/src/App.js
@@ -30,8 +30,7 @@ export default {
window.CSS.supports('-moz-mask-size', 'contain') ||
window.CSS.supports('-ms-mask-size', 'contain') ||
window.CSS.supports('-o-mask-size', 'contain')
- ),
- showMobileSidebar: false
+ )
}),
created () {
// Load the locale from the storage
@@ -93,7 +92,7 @@ export default {
this.finderHidden = hidden
},
toggleMobileSidebar () {
- this.showMobileSidebar = !this.showMobileSidebar
+ this.$refs.sideDrawer.toggleDrawer()
}
}
}