From 4ab4d3df7090e8ae3a8973e27d8d75b562fdbc3c Mon Sep 17 00:00:00 2001 From: Laurent Date: Tue, 26 Sep 2023 11:59:58 +0200 Subject: [PATCH] Fixes --- LeCountdown/Views/Reusable/VolumeView.swift | 2 +- LeCountdown/en.lproj/Localizable.strings | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/LeCountdown/Views/Reusable/VolumeView.swift b/LeCountdown/Views/Reusable/VolumeView.swift index fdc090e..986ec7a 100644 --- a/LeCountdown/Views/Reusable/VolumeView.swift +++ b/LeCountdown/Views/Reusable/VolumeView.swift @@ -38,7 +38,7 @@ struct VolumeView: UIViewRepresentable { fileprivate func _setVolume(volumeView: MPVolumeView) { if let slider = volumeView.subviews.first(where: { $0 is UISlider }) as? UISlider { - DispatchQueue.main.asyncAfter(deadline: DispatchTime.now() + 0.01) { + DispatchQueue.main.asyncAfter(deadline: DispatchTime.now() + 0.1) { Logger.log("update volume view to \(Preferences.defaultVolume)") slider.setValue(Preferences.defaultVolume, animated: false) diff --git a/LeCountdown/en.lproj/Localizable.strings b/LeCountdown/en.lproj/Localizable.strings index 28c4b78..5b47e1d 100644 --- a/LeCountdown/en.lproj/Localizable.strings +++ b/LeCountdown/en.lproj/Localizable.strings @@ -1,4 +1,4 @@ "You'll find your timers here. Start by creating them on the left screen" = "You'll find your timers here.\nStart by creating using the top right button!"; "Disclaimer" = "This is a beta version of Enchant.\n\nPlease don't depend on the app for critical events :)\n\n If you have some feedback or an issue, please tell me about it through the settings or within Testflight!"; -"Widget Tip" = "Quickly launch your timers with widget. You can add them by modifying your home or lock screen."; +"Widget Tip" = "Quickly launch your timers with widgets. You can add them by modifying your home or lock screen."; "Play confirmation sound" = "Play sound on start";