From c06bcf3303d89aa44ddcdad3a9d2f723303ae3d1 Mon Sep 17 00:00:00 2001
From: shpuld <shp@cock.li>
Date: Thu, 28 Mar 2019 22:54:45 +0200
Subject: add gesture to close notifications drawer

---
 src/components/mobile_nav/mobile_nav.vue | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

(limited to 'src/components/mobile_nav/mobile_nav.vue')

diff --git a/src/components/mobile_nav/mobile_nav.vue b/src/components/mobile_nav/mobile_nav.vue
index 39622fad..5fa41638 100644
--- a/src/components/mobile_nav/mobile_nav.vue
+++ b/src/components/mobile_nav/mobile_nav.vue
@@ -1,5 +1,5 @@
 <template>
-  <nav class='nav-bar container asd' id="nav">
+  <nav class='nav-bar container' id="nav">
     <div class='mobile-inner-nav' @click="scrollToTop()">
       <div class='item'>
         <a href="#" class="mobile-nav-button" @click.stop.prevent="toggleMobileSidebar()">
@@ -15,7 +15,12 @@
       </div>
     </div>
     <SideDrawer ref="sideDrawer" :logout="logout"/>
-    <div v-if="currentUser" class="mobile-notifications-drawer" :class="{ 'closed': !notificationsOpen }">
+    <div v-if="currentUser"
+      class="mobile-notifications-drawer"
+      :class="{ 'closed': !notificationsOpen }"
+      @touchstart="notificationsTouchStart"
+      @touchmove="notificationsTouchMove"
+    >
       <div class="mobile-notifications-header">
         <span class="title">{{$t('notifications.notifications')}}</span>
         <a class="mobile-nav-button" @click.stop.prevent="closeMobileNotifications()">
-- 
cgit v1.2.3-70-g09d2

