|
@@ -472,22 +472,22 @@ abstract class ReaderActivity : AppCompatActivity() {
|
|
|
onDismissListener = Runnable { onMediaBoxDismissed() }
|
|
|
onViewerEditTabAddButtonClickListener = object : ViewerEditView.OnViewerEditTabAddButtonClickListener {
|
|
|
override fun onTabTextBoxAddButtonClick(textBoxTabView: TextBoxTabView) {
|
|
|
- hideAllToolbars()
|
|
|
+ dismiss()
|
|
|
viewModel.setTextBoxAttribute(textBoxTabView.getTextBoxAttribute())
|
|
|
}
|
|
|
|
|
|
override fun onTabSignatureAddButtonClick(signatureTabView: SignatureTabView) {
|
|
|
- hideAllToolbars()
|
|
|
+ dismiss()
|
|
|
viewModel.setSignatureAttribute(signatureTabView.getSignatureAttribute())
|
|
|
}
|
|
|
|
|
|
override fun onTabStampAddButtonClick(stampTabView: StampTabView) {
|
|
|
- hideAllToolbars()
|
|
|
+ dismiss()
|
|
|
viewModel.setStampAttribute(stampTabView.getStampAttribute())
|
|
|
}
|
|
|
|
|
|
override fun onTabShapeAddButtonClick(shapeTabView: ShapeTabView) {
|
|
|
- hideAllToolbars()
|
|
|
+ dismiss()
|
|
|
viewModel.setShapeAttribute(shapeTabView.getShapeAttribute())
|
|
|
}
|
|
|
}
|