diff --git a/VDS/Components/Pagination/Pagination.swift b/VDS/Components/Pagination/Pagination.swift index 6234e155..1e51f4ef 100644 --- a/VDS/Components/Pagination/Pagination.swift +++ b/VDS/Components/Pagination/Pagination.swift @@ -57,7 +57,7 @@ open class Pagination: View { ///Next button to select next page public let nextButton: PaginationButton = .init(type: .next) /// A callback when the page changes. Passes parameters (selectedPage). - public var onPageDidSelect: ((Int) -> Void)? + open var onPageDidSelect: ((Int) -> Void)? /// Total number of pages, allows limit ranging from 0 to 9999. @Clamping(range: 0...9999) public var total: Int { @@ -70,7 +70,7 @@ open class Pagination: View { } } ///Selected active page number and clips to total pages if selected index is greater than the total pages. - public var selectedPage: Int { + open var selectedPage: Int { set { if newValue >= total { _selectedPageIndex = total - 1 diff --git a/VDS/Components/TitleLockup/TitleLockup.swift b/VDS/Components/TitleLockup/TitleLockup.swift index 25aaf248..1711939c 100644 --- a/VDS/Components/TitleLockup/TitleLockup.swift +++ b/VDS/Components/TitleLockup/TitleLockup.swift @@ -288,7 +288,6 @@ open class TitleLockup: View { subTitleModel = nil } - var labelViews = [UIView]() /// Used to make changes to the View based off a change events or from local properties. open override func updateView() { super.updateView()