mirror of
https://github.com/yattee/yattee.git
synced 2025-08-05 18:24:02 +00:00
Use Swift 5.7 if-let style
This commit is contained in:
@@ -32,7 +32,7 @@ struct Buffering: View {
|
||||
|
||||
Text(reason)
|
||||
.font(.system(size: playerControlsLayout.timeFontSize))
|
||||
if let state = state {
|
||||
if let state {
|
||||
Text(state)
|
||||
.font(.system(size: playerControlsLayout.bufferingStateFontSize).monospacedDigit())
|
||||
}
|
||||
|
Reference in New Issue
Block a user