Skip to content

Commit

Permalink
fix(GiniInternalPaymentSDK): Enable horizontal scrolling for UICollec…
Browse files Browse the repository at this point in the history
…tionView in PaymentReviewViewController

IPC-440
  • Loading branch information
ValentinaIancu-Gini committed Nov 25, 2024
1 parent 9b70cb4 commit 09471a6
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,7 @@ fileprivate extension PaymentReviewViewController {
let flowLayout = UICollectionViewFlowLayout()
flowLayout.minimumInteritemSpacing = Constants.collectionViewPadding
flowLayout.minimumLineSpacing = Constants.collectionViewPadding
flowLayout.scrollDirection = .horizontal // Enable horizontal scrolling

let collection = UICollectionView(frame: CGRect.zero, collectionViewLayout: flowLayout)
collection.backgroundColor = model.configuration.backgroundColor
Expand Down

0 comments on commit 09471a6

Please sign in to comment.