Skip to content

Commit

Permalink
Update LayerExample.swift
Browse files Browse the repository at this point in the history
added example button with foregroundColor passed
  • Loading branch information
huntertdiamond authored Oct 6, 2023
1 parent cdf2430 commit d9c8cb1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Layers/Example/LayerExample.swift
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@ struct LayerExample: View {
if !layers.getCurrentButtons()[1].isEmpty {
LayerButton(text: Binding.constant(layers.getCurrentButtons()[1].keys.first ?? ""),
icon: Binding.constant(layers.getCurrentButtons()[1].values.first ?? ""),
background: .blue)
background: .blue,
foregroundColor: .orange
)
{
layers.next()
}
Expand Down

0 comments on commit d9c8cb1

Please sign in to comment.