Skip to content

Commit

Permalink
Merge pull request #156 from DattatreyaReddy:swipe_hot_fix
Browse files Browse the repository at this point in the history
horizantal swipe direction change
  • Loading branch information
DattatreyaReddy authored Mar 26, 2023
2 parents de4c9d9 + 84e6784 commit df3e593
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -504,18 +504,18 @@ class ReaderView extends HookWidget {
if (scrollDirection == Axis.vertical) {
if (details.primaryVelocity == null) {
return;
} else if (details.primaryVelocity! > 0) {
nextChapter();
} else {
} else if (details.primaryVelocity! > 8) {
prevChapter();
} else {
nextChapter();
}
}
},
onVerticalDragEnd: (details) {
if (scrollDirection == Axis.horizontal) {
if (details.primaryVelocity == null) {
return;
} else if (details.primaryVelocity! > 0) {
} else if (details.primaryVelocity! > 8) {
prevChapter();
} else {
nextChapter();
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: tachidesk_sorayomi
description: A new Flutter frontend for Tachidesk.

publish_to: "none"
version: 0.4.8+1
version: 0.4.9+1

environment:
sdk: ">=2.18.1 <3.0.0"
Expand Down

0 comments on commit df3e593

Please sign in to comment.