Tweak mute button symbol animation

This commit is contained in:
Shadowfacts 2024-08-31 11:20:09 -04:00
parent 3e28c012d7
commit 68bd9e0bed
1 changed files with 1 additions and 1 deletions

View File

@ -408,7 +408,7 @@ private class MuteButton: UIControl {
let image = UIImage(systemName: muted ? "speaker.slash.fill" : "speaker.wave.3.fill")!
if animated,
#available(iOS 17.0, *) {
imageView.setSymbolImage(image, contentTransition: .replace.wholeSymbol, options: .speed(5))
imageView.setSymbolImage(image, contentTransition: .replace.byLayer)
} else {
imageView.image = image
}