Skip to content

Commit 60a293f

Browse files
Merge pull request #1 from chFlorian/default-color
Add default value 'nil' to ScrollViewConfiguration
2 parents 259fa3e + 48927b0 commit 60a293f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Model/ScrollViewConfiguration.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ public struct ScrollViewConfiguration {
55

66
// MARK: Lifecycle
77

8-
public init(showStatusBar: Bool, backgroundColor: Color?) {
8+
public init(showStatusBar: Bool, backgroundColor: Color? = nil) {
99

1010
self.showStatusBar = showStatusBar
1111
self.backgroundColor = backgroundColor

0 commit comments

Comments
 (0)