Skip to content

Commit

Permalink
fix fontColor
Browse files Browse the repository at this point in the history
  • Loading branch information
tsuzukihashi committed Mar 13, 2020
1 parent a15e5a9 commit 14cfe22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/NeumorphismManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public class NeumorphismManager: NeumorphismManagable, ObservableObject {
}
}

public func fontColor(lightColor: Color?, darkColor: Color?) -> Color {
public func fontColor(lightColor: Color? = nil, darkColor: Color? = nil) -> Color {
if isDark {
return lightColor ?? self.lightColor
} else {
Expand Down

0 comments on commit 14cfe22

Please sign in to comment.