minor code style update

This commit is contained in:
Tibor Kaputa 2023-07-24 10:55:10 +02:00 committed by GitHub
parent 014ac2a4cf
commit deecd78650
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

@ -10,7 +10,6 @@ import kotlinx.android.synthetic.main.dialog_export_messages.view.export_message
import kotlinx.android.synthetic.main.dialog_export_messages.view.export_mms_checkbox import kotlinx.android.synthetic.main.dialog_export_messages.view.export_mms_checkbox
import kotlinx.android.synthetic.main.dialog_export_messages.view.export_sms_checkbox import kotlinx.android.synthetic.main.dialog_export_messages.view.export_sms_checkbox
class ExportMessagesDialog( class ExportMessagesDialog(
private val activity: SimpleActivity, private val activity: SimpleActivity,
private val callback: (fileName: String) -> Unit, private val callback: (fileName: String) -> Unit,
@ -40,7 +39,6 @@ class ExportMessagesDialog(
filename.isAValidFilename() -> { filename.isAValidFilename() -> {
callback(filename) callback(filename)
alertDialog.dismiss() alertDialog.dismiss()
} }
else -> activity.toast(R.string.invalid_name) else -> activity.toast(R.string.invalid_name)