|
|
|
@ -153,7 +153,10 @@ class AudioPlayActivity : |
|
|
|
|
if (!AudioPlay.inBookshelf) { |
|
|
|
|
this.alert(title = getString(R.string.add_to_shelf)) { |
|
|
|
|
message = getString(R.string.check_add_bookshelf, it.name) |
|
|
|
|
okButton { AudioPlay.inBookshelf = true } |
|
|
|
|
okButton { |
|
|
|
|
AudioPlay.inBookshelf = true |
|
|
|
|
setResult(Activity.RESULT_OK) |
|
|
|
|
} |
|
|
|
|
noButton { viewModel.removeFromBookshelf { super.finish() } } |
|
|
|
|
}.show().applyTint() |
|
|
|
|
} else { |
|
|
|
|