Skip to content

Commit

Permalink
Merge pull request #27 from tichise/bugfix
Browse files Browse the repository at this point in the history
Update Icon+Extension.swift
  • Loading branch information
tichise authored Oct 14, 2021
2 parents 9869f1c + 1a4fa15 commit 828ddea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Sources/MaterialDesignSymbol/Icon+Extension.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

import SwiftUI

@available(iOS 14.0, watchOS 7.0, *)
extension Image {
public init(materialDesignIcon: MaterialDesignIconEnum, size: CGFloat, color: Color) {
let symbol = MaterialDesignSymbol(icon: materialDesignIcon, size: size)
Expand Down

0 comments on commit 828ddea

Please sign in to comment.