Skip to content

Commit

Permalink
Merge pull request #725 from kitwtnb/fix-build-error-for-swift6
Browse files Browse the repository at this point in the history
Fix build error for Swift 6
  • Loading branch information
rechsteiner authored Aug 14, 2024
2 parents 1f6c109 + 2fb6324 commit aff5502
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Parchment/Protocols/PagingIndicatorStyle.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import Foundation
import SwiftUI

@available(iOS 14.0, *)
public protocol PagingIndicatorStyle {
public protocol PagingIndicatorStyle: Sendable {
associatedtype Body: View
typealias Configuration = PagingIndicatorConfiguration
@ViewBuilder func makeBody(configuration: Configuration) -> Body
Expand Down Expand Up @@ -34,7 +34,7 @@ struct DefaultPagingIndicatorStyle: PagingIndicatorStyle {

@available(iOS 14.0, *)
struct PagingIndicatorStyleKey: EnvironmentKey {
static var defaultValue: any PagingIndicatorStyle = DefaultPagingIndicatorStyle()
static let defaultValue: any PagingIndicatorStyle = DefaultPagingIndicatorStyle()
}

@available(iOS 14.0, *)
Expand Down

0 comments on commit aff5502

Please sign in to comment.