Open notoriouscode97 opened 1 year ago
I'm getting a similar crash on 2.5.0 version. Seem to happening when totalPages is set to zero. On 2.4.0 is everything fine.
Same for me. They "fixed" similar issue in 2.5.0 here: https://github.com/fermoya/SwiftUIPager/issues/279
Describe the bug A clear and concise description of what the bug is. App crashes in Page.swift file when trying to set totalPages property line 40 I'm on 2.5.0 version using SPM To Reproduce
Expected behavior App shouldn't crash when changing totalPages property
Screenshots / Videos If applicable, add screenshots to help explain your problem.
Environment:
OSX: [e.g. iOS] 64% iOS 16, 36% iOS 15
Device [e.g. iPhone6] : iPhone 13 18%, iPhone 7 Plus 9%, iPhone 14 Pro 10%, iPhone 13 Pro Max 9%, iPhone 13 Pro 9%, iPhone 12 9%, iPhone 11 Pro 9%, iPhone 11 9%
Additional context Here is the crash stack trace crash.txt