Skip to content

Commit

Permalink
Refactor BPKIcon initializer to improve readability
Browse files Browse the repository at this point in the history
  • Loading branch information
frugoman committed Jan 23, 2025
1 parent 92610d0 commit a570f20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Backpack-SwiftUI/Icons/Classes/BPKIcon.swift
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public struct BPKIcon {
public let name: String
let bundle: Bundle?

init (name: String, bundle: Bundle? = nil) {
init(name: String, bundle: Bundle? = nil) {
self.name = name
self.bundle = bundle ?? BPKCommonBundle.iconsBundle
}
Expand Down

0 comments on commit a570f20

Please sign in to comment.