refactor: use new KeyValuePage widget for displaying statistics

This commit is contained in:
Qingping Hou committed 2016-02-14 21:54:17 -08:00
1 parent 65455cee23
commit 11ee8d6fcc
31 files changed
+606 -404

No files matched your search

+2 -10
View File
@@ -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