[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)
|
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)
|
.font(.caption)
|
||||||
}
|
}
|
||||||
VStack {
|
VStack {
|
||||||
|
|
Loading…
Reference in New Issue