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