Syntax Cleanup.
This commit is contained in:
parent
4cf44011b8
commit
221202a0e3
1 changed files with 1 additions and 3 deletions
|
@ -55,9 +55,7 @@ class CrashReportActivity : BaseCrashReportDialog(), DialogInterface.OnDismissLi
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun onDismiss(dialog: DialogInterface) {
|
override fun onDismiss(dialog: DialogInterface) = finish()
|
||||||
finish()
|
|
||||||
}
|
|
||||||
|
|
||||||
override fun onClick(dialog: DialogInterface, which: Int) {
|
override fun onClick(dialog: DialogInterface, which: Int) {
|
||||||
if (which == DialogInterface.BUTTON_POSITIVE) {
|
if (which == DialogInterface.BUTTON_POSITIVE) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue