Skip to content

Commit

Permalink
Merge branch 'dejal'
Browse files Browse the repository at this point in the history
* dejal:
  iOS: #1171 (autoscroll)
  • Loading branch information
samuelclay committed Jun 26, 2019
2 parents e82a6ad + 6a1dc87 commit b9e3cfb
Show file tree
Hide file tree
Showing 2 changed files with 110 additions and 108 deletions.
4 changes: 3 additions & 1 deletion clients/ios/Classes/StoryPageControl.m
Expand Up @@ -1647,8 +1647,10 @@ - (void)showAutoscrollBriefly:(BOOL)briefly {
if (self.autoscrollView.alpha == 0) {
if (self.isPhoneOrCompact) {
self.autoscrollBottomConstraint.constant = 50;
} else if (self.traverseView.alpha != 0) {
self.autoscrollBottomConstraint.constant = -7;
} else {
self.autoscrollBottomConstraint.constant = 0;
self.autoscrollBottomConstraint.constant = 20;
}

[self.view layoutIfNeeded];
Expand Down

0 comments on commit b9e3cfb

Please sign in to comment.