Skip to content

Commit a6843ef

Browse files
committed
Fixes an issue with the initializer
1 parent 38697f8 commit a6843ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/ActivityView/ActivityItem.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ public struct ActivityItem {
1111
/// - Parameters:
1212
/// - items: The items to share via a `UIActivityViewController`
1313
/// - activities: Custom activities you want to include in the sheet
14-
public init(items: Any..., activities: [UIActivity] = [], excludedTypes: [UIActivity.ActivityType]) {
14+
public init(items: Any..., activities: [UIActivity] = [], excludedTypes: [UIActivity.ActivityType] = []) {
1515
self.items = items
1616
self.activities = activities
1717
self.excludedTypes = excludedTypes

0 commit comments

Comments
 (0)