unifying the export/import error messages
This commit is contained in:
parent
6f51e72608
commit
c21bca5e22
24 changed files with 24 additions and 46 deletions
|
|
@ -58,7 +58,7 @@ class ExportMessagesDialog(
|
|||
}
|
||||
|
||||
if(!view.export_sms_checkbox.isChecked && !view.export_mms_checkbox.isChecked){
|
||||
activity.toast(R.string.export_unchecked_error_message)
|
||||
activity.toast(R.string.no_option_selected)
|
||||
return@setOnClickListener
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ class ImportMessagesDialog(
|
|||
}
|
||||
|
||||
if (!view.import_sms_checkbox.isChecked && !view.import_mms_checkbox.isChecked) {
|
||||
activity.toast(R.string.import_unchecked_error_message)
|
||||
activity.toast(R.string.no_option_selected)
|
||||
return@setOnClickListener
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue