fix: make "cut unsupported" text non-specific to live video
This commit is contained in:
parent
1454e75a9b
commit
10a36d938e
3 changed files with 3 additions and 3 deletions
|
|
@ -338,7 +338,7 @@ class DownloadAudioFragment(private var resultItem: ResultItem? = null, private
|
|||
val snack = Snackbar.make(view, context.getString(R.string.please_wait), Snackbar.LENGTH_SHORT)
|
||||
snack.show()
|
||||
}else if (downloadItem.duration=="0:00"){
|
||||
val snack = Snackbar.make(view, context.getString(R.string.cut_live_unsupported), Snackbar.LENGTH_SHORT)
|
||||
val snack = Snackbar.make(view, context.getString(R.string.cut_unsupported), Snackbar.LENGTH_SHORT)
|
||||
snack.show()
|
||||
}else if (!nonSpecific){
|
||||
val snack = Snackbar.make(view, context.getString(R.string.cut_unavailable), Snackbar.LENGTH_SHORT)
|
||||
|
|
|
|||
|
|
@ -368,7 +368,7 @@ class DownloadVideoFragment(private var resultItem: ResultItem? = null, private
|
|||
val snack = Snackbar.make(view, context.getString(R.string.please_wait), Snackbar.LENGTH_SHORT)
|
||||
snack.show()
|
||||
}else if (downloadItem.duration=="0:00"){
|
||||
val snack = Snackbar.make(view, context.getString(R.string.cut_live_unsupported), Snackbar.LENGTH_SHORT)
|
||||
val snack = Snackbar.make(view, context.getString(R.string.cut_unsupported), Snackbar.LENGTH_SHORT)
|
||||
snack.show()
|
||||
}else if (!nonSpecific){
|
||||
val snack = Snackbar.make(view, context.getString(R.string.cut_unavailable), Snackbar.LENGTH_SHORT)
|
||||
|
|
|
|||
|
|
@ -476,5 +476,5 @@
|
|||
<string name="regenerate">Re-generate</string>
|
||||
<string name="generate_potokens_warning">* By enabling this, you need to disable cookies</string>
|
||||
<string name="custom">Custom</string>
|
||||
<string name="cut_live_unsupported">Cutting live videos is not supported</string>
|
||||
<string name="cut_unsupported">Cutting is not available for this item</string>
|
||||
</resources>
|
||||
|
|
|
|||
Loading…
Reference in a new issue