We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9153fc1 commit 669d20fCopy full SHA for 669d20f
Sources/SwiftUIPager/Page.swift
@@ -34,7 +34,12 @@ public class Page: ObservableObject {
34
}
35
36
/// Total number of pages
37
- var totalPages: Int = Int.max
+ var totalPages: Int = Int.max {
38
+ didSet {
39
+ // reset in case there's a deletion
40
+ self.index = index
41
+ }
42
43
44
#if !os(tvOS)
45
release_description.md
@@ -1,3 +1,5 @@
1
### Features
2
-- #254 New modifier `dragForwardOnly`
3
-- #265 Support for _watchOS_ `digitalCrownRotation`
+- #280 Support RTL languages
+
4
+### Fixes
5
+- #279 Crash when deleting/filtering items
0 commit comments