Skip to content

Commit

Permalink
Fixed broken merge
Browse files Browse the repository at this point in the history
  • Loading branch information
aure committed Mar 16, 2022
1 parent b9d8f93 commit 342180b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion Sources/AudioKitUI/Helpers/AudioKitUIHelpers.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import AudioKit
import SwiftUI


#if !os(macOS) || targetEnvironment(macCatalyst)
#if os(iOS)

struct DeviceRotationViewModifier: ViewModifier {
Expand Down
2 changes: 1 addition & 1 deletion Sources/AudioKitUI/Visualizations/FFTView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ public struct FFTView: View {

public var body: some View {
HStack(spacing: 0.0) {
ForEach(0 ..< barCount, id: \.self) {
ForEach(0 ..< barCount, id: \.self) {
if $0 < fft.amplitudes.count {
if let amplitude = fft.amplitudes[$0] {
AmplitudeBar(amplitude: amplitude,
Expand Down

0 comments on commit 342180b

Please sign in to comment.