From 221202a0e37526374153aaaaeb2b82fd90db5a9d Mon Sep 17 00:00:00 2001 From: "Erik C. Thauvin" Date: Tue, 26 Sep 2017 21:22:19 -0700 Subject: [PATCH] Syntax Cleanup. --- .../tesremoteprogrammer/reporting/CrashReportActivity.kt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/src/main/java/net/thauvin/erik/android/tesremoteprogrammer/reporting/CrashReportActivity.kt b/app/src/main/java/net/thauvin/erik/android/tesremoteprogrammer/reporting/CrashReportActivity.kt index f5f7f2d..0ab0ef6 100644 --- a/app/src/main/java/net/thauvin/erik/android/tesremoteprogrammer/reporting/CrashReportActivity.kt +++ b/app/src/main/java/net/thauvin/erik/android/tesremoteprogrammer/reporting/CrashReportActivity.kt @@ -55,9 +55,7 @@ class CrashReportActivity : BaseCrashReportDialog(), DialogInterface.OnDismissLi } } - override fun onDismiss(dialog: DialogInterface) { - finish() - } + override fun onDismiss(dialog: DialogInterface) = finish() override fun onClick(dialog: DialogInterface, which: Int) { if (which == DialogInterface.BUTTON_POSITIVE) {