Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion Sources/TGCardViewController/cards/TGPageCardView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,10 @@ class TGPageCardView: TGCardView {
super.updateSafeAreaConstraints()

// The pages keep their contents in the safe area themselves, so the pager
// mustn't shift them
// mustn't shift them, and its scroll indicator can go right to the bottom
// edge, like those of the pages go right to the side
pager.contentInsetAdjustmentBehavior = keepsContentInSafeArea ? .never : .automatic
pager.automaticallyAdjustsScrollIndicatorInsets = !keepsContentInSafeArea
passSafeAreaToPages()
}

Expand Down
Loading