mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
refactor: use new KeyValuePage widget for displaying statistics
This commit is contained in:
@@ -261,17 +261,9 @@ end
|
||||
|
||||
function ReaderRolling:onSwipe(arg, ges)
|
||||
if ges.direction == "west" or ges.direction == "north" then
|
||||
if DCHANGE_WEST_SWIPE_TO_EAST then
|
||||
self:onGotoViewRel(-1)
|
||||
else
|
||||
self:onGotoViewRel(1)
|
||||
end
|
||||
self:onGotoViewRel(1)
|
||||
elseif ges.direction == "east" or ges.direction == "south" then
|
||||
if DCHANGE_EAST_SWIPE_TO_WEST then
|
||||
self:onGotoViewRel(1)
|
||||
else
|
||||
self:onGotoViewRel(-1)
|
||||
end
|
||||
self:onGotoViewRel(-1)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user