mirror of
https://github.com/jellyfin/Swiftfin.git
synced 2025-02-23 16:50:37 +00:00
[Fixed] nil check on remaining progress
This commit is contained in:
parent
cfc6e9a4f7
commit
889ad9af79
@ -25,7 +25,7 @@ struct MediaPlayButtonRowView: View {
|
||||
MediaViewActionButton(icon: "play.fill", scrollView: $wrappedScrollView)
|
||||
}
|
||||
|
||||
Text(viewModel.item.getItemProgressString() != "" ? "\(viewModel.item.getItemProgressString() ?? "") left" : L10n.play)
|
||||
Text((viewModel.item.getItemProgressString() != nil) ? "\(viewModel.item.getItemProgressString() ?? "") left" : L10n.play)
|
||||
.font(.caption)
|
||||
}
|
||||
VStack {
|
||||
|
Loading…
x
Reference in New Issue
Block a user