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