Skip to content

Commit

Permalink
Expose TGPageCard.currentCard publicly
Browse files Browse the repository at this point in the history
  • Loading branch information
nighthawk committed Nov 20, 2023
1 parent 3eeab8d commit 7b1350d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/TGCardViewController/cards/TGPageCard.swift
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ open class TGPageCard: TGCard {
return pageCard.currentPage
}

fileprivate var currentCard: TGCard {
public var currentCard: TGCard {
return cards[currentPageIndex]
}

Expand Down

0 comments on commit 7b1350d

Please sign in to comment.