Fix timeline jump button having background when button shapes accessibility setting is on

This commit is contained in:
Shadowfacts 2023-10-24 15:02:13 -04:00
parent 4af56e48bf
commit f7a9075b77
1 changed files with 2 additions and 0 deletions

View File

@ -20,6 +20,8 @@ class TimelineJumpButton: UIView {
var config = UIButton.Configuration.plain()
config.image = UIImage(systemName: "arrow.up")
config.contentInsets = .zero
// We don't want a background for this button, even when accessibility button shapes are enabled, because it's in the navbar.
config.background.backgroundColor = .clear
return UIButton(configuration: config)
}()