|
|
@ -327,15 +327,11 @@ class BookInfoActivity : |
|
|
|
} |
|
|
|
} |
|
|
|
customView { alertBinding.root } |
|
|
|
customView { alertBinding.root } |
|
|
|
okButton { |
|
|
|
okButton { |
|
|
|
launch(IO) { |
|
|
|
viewModel.bookSource?.setVariable(alertBinding.editView.text?.toString()) |
|
|
|
viewModel.bookSource?.setVariable(alertBinding.editView.text?.toString()) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
cancelButton() |
|
|
|
cancelButton() |
|
|
|
neutralButton(R.string.delete) { |
|
|
|
neutralButton(R.string.delete) { |
|
|
|
launch(IO) { |
|
|
|
viewModel.bookSource?.setVariable(null) |
|
|
|
viewModel.bookSource?.setVariable(null) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
}.show() |
|
|
|
}.show() |
|
|
|
} |
|
|
|
} |
|
|
|