From ae49cb3729948691e3ad3e77def53ff440ac569b Mon Sep 17 00:00:00 2001 From: Matt Bruce Date: Tue, 9 Sep 2025 13:32:53 -0500 Subject: [PATCH] Signed-off-by: Matt Bruce --- TheNoiseClock.xcodeproj/project.pbxproj | 2 ++ .../Views/Noise/Components/SoundCategoryView.swift | 10 ---------- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/TheNoiseClock.xcodeproj/project.pbxproj b/TheNoiseClock.xcodeproj/project.pbxproj index de2ea7f..bb88160 100644 --- a/TheNoiseClock.xcodeproj/project.pbxproj +++ b/TheNoiseClock.xcodeproj/project.pbxproj @@ -427,6 +427,7 @@ INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; INFOPLIST_KEY_UILaunchScreen_Generation = YES; INFOPLIST_KEY_UISupportedInterfaceOrientations = "UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown"; + IPHONEOS_DEPLOYMENT_TARGET = 18; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", @@ -459,6 +460,7 @@ INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; INFOPLIST_KEY_UILaunchScreen_Generation = YES; INFOPLIST_KEY_UISupportedInterfaceOrientations = "UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown"; + IPHONEOS_DEPLOYMENT_TARGET = 18; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", diff --git a/TheNoiseClock/Views/Noise/Components/SoundCategoryView.swift b/TheNoiseClock/Views/Noise/Components/SoundCategoryView.swift index a268851..2a6be2a 100644 --- a/TheNoiseClock/Views/Noise/Components/SoundCategoryView.swift +++ b/TheNoiseClock/Views/Noise/Components/SoundCategoryView.swift @@ -123,7 +123,6 @@ struct SoundCategoryView: View { SoundCard( sound: sound, isSelected: selectedSound?.id == sound.id, - isPlaying: viewModel.isPlaying && selectedSound?.id == sound.id, isPreviewing: viewModel.isPreviewing && viewModel.previewSound?.id == sound.id, onSelect: { viewModel.selectSound(sound) @@ -171,7 +170,6 @@ struct CategoryTab: View { struct SoundCard: View { let sound: Sound let isSelected: Bool - let isPlaying: Bool let isPreviewing: Bool let onSelect: () -> Void let onPreview: () -> Void @@ -188,14 +186,6 @@ struct SoundCard: View { .font(.title3) .foregroundColor(isSelected ? .white : UIConstants.Colors.primaryText) - if isPlaying { - Circle() - .stroke(UIConstants.Colors.accentColor, lineWidth: 2) - .frame(width: 58, height: 58) - .scaleEffect(1.05) - .animation(.easeInOut(duration: 1).repeatForever(autoreverses: true), value: isPlaying) - } - if isPreviewing { Circle() .stroke(UIConstants.Colors.accentColor, lineWidth: 2)