8000 chore(): swift 5.3 · chris-swift-dev/ListPagination@5fedc07 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5fedc07

Browse files
author
Christian Elies
committed
chore(): swift 5.3
1 parent 84df705 commit 5fedc07

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// swift-tools-version:5.1
1+
// swift-tools-version:5.3
22
// The swift-tools-version declares the minimum version of Swift required to build this package.
33

44
import PackageDescription

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# ListPagination
22

3-
[![Swift5](https://img.shields.io/badge/swift5-compatible-green.svg?longCache=true&style=flat-square)](https://developer.apple.com/swift)
3+
[![Swift 5.3](https://img.shields.io/badge/swift5.3-compatible-green.svg?longCache=true&style=flat-square)](https://developer.apple.com/swift)
44
[![Platform](https://img.shields.io/badge/platform-iOS%20%7C%20macOS%20%7C%20tvOS-lightgrey.svg?longCache=true&style=flat-square)](https://www.apple.com)
55
[![License](https://img.shields.io/badge/license-MIT-lightgrey.svg?longCache=true&style=flat-square)](https://en.wikipedia.org/wiki/MIT_License)
66

Sources/ListPagination/public/Extensions/RandomAccessCollection+isLastItem.swift

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,10 @@ extension RandomAccessCollection where Self.Element: Identifiable {
2222
return distance == 1
2323
}
2424

25-
public func isThresholdItem<Item: Identifiable>(offset: Int,
26-
item: Item) -> Bool {
25+
public func isThresholdItem<Item: Identifiable>(
26+
offset: Int,
27+
item: Item
28+
) -> Bool {
2729
guard !isEmpty else {
2830
return false
2931
}

0 commit comments

Comments
 (0)
0