Fixed #1658 (story is missing or offset on iPad 11")

This commit is contained in:
David Sinclair 2022-05-03 20:03:25 -06:00
parent a96d5479e1
commit 8f83b73d7a

View file

@ -1067,9 +1067,9 @@
frame.origin.y = 0;
} else {
frame.origin.x = 0;
frame.origin.y = (frame.size.height * pageIndex) - self.view.safeAreaInsets.bottom;
frame.origin.y = (frame.size.height * pageIndex) - self.view.safeAreaInsets.bottom + self.view.safeAreaInsets.bottom;
}
self.scrollingToPage = pageIndex;
[self.currentPage hideNoStoryMessage];
[self.nextPage hideNoStoryMessage];