Compare commits
No commits in common. "24badf872db4020983e2d6f91ec1d62749b84d96" and "3e5e6b74478f5dd54776fbe1ad6012ba62fbdf1a" have entirely different histories.
24badf872d
...
3e5e6b7447
@ -133,7 +133,7 @@ public final class SoundManager {
|
|||||||
)
|
)
|
||||||
try AVAudioSession.sharedInstance().setActive(true)
|
try AVAudioSession.sharedInstance().setActive(true)
|
||||||
} catch {
|
} catch {
|
||||||
Design.debugLog("Failed to configure audio session: \(error)")
|
print("Failed to configure audio session: \(error)")
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
@ -168,7 +168,7 @@ public final class SoundManager {
|
|||||||
player.play()
|
player.play()
|
||||||
return
|
return
|
||||||
} catch {
|
} catch {
|
||||||
Design.debugLog("Failed to load sound \(key): \(error)")
|
print("Failed to load sound \(key): \(error)")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -202,7 +202,7 @@ public final class SoundManager {
|
|||||||
player.prepareToPlay()
|
player.prepareToPlay()
|
||||||
audioPlayers[key] = player
|
audioPlayers[key] = player
|
||||||
} catch {
|
} catch {
|
||||||
Design.debugLog("Failed to preload sound \(key): \(error)")
|
print("Failed to preload sound \(key): \(error)")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -72,8 +72,7 @@ public struct SegmentedPicker<T: Equatable>: View {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.padding(.vertical, Design.Spacing.medium)
|
.padding(.vertical, Design.Spacing.xSmall)
|
||||||
.padding(.horizontal, Design.Spacing.medium)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -111,8 +111,7 @@ public struct SettingsSegmentedPicker<T: Equatable, Accessory: View>: View {
|
|||||||
}
|
}
|
||||||
.sensoryFeedback(.selection, trigger: selection)
|
.sensoryFeedback(.selection, trigger: selection)
|
||||||
}
|
}
|
||||||
.padding(.vertical, Design.Spacing.medium)
|
.padding(.vertical, Design.Spacing.xSmall)
|
||||||
.padding(.horizontal, Design.Spacing.medium)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -151,7 +151,6 @@ private struct SyncStatusRow<ViewModel: CloudSyncable>: View {
|
|||||||
Text(String(localized: "Sync Now")).styled(.captionEmphasis, emphasis: .custom(accentColor))
|
Text(String(localized: "Sync Now")).styled(.captionEmphasis, emphasis: .custom(accentColor))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.padding(.horizontal, Design.Spacing.medium)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user