fix: 🐛 swipe left goes back a page

This commit is contained in:
ThatOneCalculator 2022-08-19 23:20:28 -07:00
parent 5e9d1ee478
commit 817ccb5b32
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
{ {
"name": "misskey", "name": "misskey",
"version": "12.118.1-calc.10.3", "version": "12.118.1-calc.11",
"codename": "aqua", "codename": "aqua",
"repository": { "repository": {
"type": "git", "type": "git",

View file

@ -285,7 +285,7 @@ if (isMobile.value) {
console.log('left swipe'); console.log('left swipe');
next = next =
timelines[ timelines[
(timelines.indexOf(src) + 1) % timelines.length (timelines.indexOf(src) - 1) % timelines.length
]; ];
} }
saveSrc(next); saveSrc(next);