From 817ccb5b32f2235f291cbe421030ed3af6dad520 Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Fri, 19 Aug 2022 23:20:28 -0700 Subject: [PATCH] fix: :bug: swipe left goes back a page --- package.json | 2 +- packages/client/src/pages/timeline.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index d49407e8d..70c24b56f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "misskey", - "version": "12.118.1-calc.10.3", + "version": "12.118.1-calc.11", "codename": "aqua", "repository": { "type": "git", diff --git a/packages/client/src/pages/timeline.vue b/packages/client/src/pages/timeline.vue index a3a215004..b22df6285 100644 --- a/packages/client/src/pages/timeline.vue +++ b/packages/client/src/pages/timeline.vue @@ -285,7 +285,7 @@ if (isMobile.value) { console.log('left swipe'); next = timelines[ - (timelines.indexOf(src) + 1) % timelines.length + (timelines.indexOf(src) - 1) % timelines.length ]; } saveSrc(next);