|
|
@ -224,7 +224,7 @@ public class SystemSettingsActivity extends PreferenceCompatActivity { |
|
|
|
case DIALOG_IMPORTSETTINGS: |
|
|
|
case DIALOG_IMPORTSETTINGS: |
|
|
|
// @formatter:off
|
|
|
|
// @formatter:off
|
|
|
|
return new AlertDialog.Builder(this) |
|
|
|
return new AlertDialog.Builder(this) |
|
|
|
.setMessage(getString(R.string.pref_import_dialog_android10, getString(R.string.app_name))) |
|
|
|
.setMessage(getString(R.string.pref_import_dialog_android10)) |
|
|
|
.setPositiveButton(R.string.pref_import_fromfile, importSettingsFromFile) |
|
|
|
.setPositiveButton(R.string.pref_import_fromfile, importSettingsFromFile) |
|
|
|
.setNeutralButton(R.string.pref_import_fromqr, importSettingsFromQr) |
|
|
|
.setNeutralButton(R.string.pref_import_fromqr, importSettingsFromQr) |
|
|
|
.setNegativeButton(android.R.string.cancel, null) |
|
|
|
.setNegativeButton(android.R.string.cancel, null) |
|
|
@ -233,7 +233,7 @@ public class SystemSettingsActivity extends PreferenceCompatActivity { |
|
|
|
case DIALOG_EXPORTSETTINGS: |
|
|
|
case DIALOG_EXPORTSETTINGS: |
|
|
|
// @formatter:off
|
|
|
|
// @formatter:off
|
|
|
|
return new AlertDialog.Builder(this) |
|
|
|
return new AlertDialog.Builder(this) |
|
|
|
.setMessage(getString(R.string.pref_export_dialog_android10, getString(R.string.app_name))) |
|
|
|
.setMessage(getString(R.string.pref_export_dialog_android10)) |
|
|
|
.setPositiveButton(R.string.pref_export_tofile, exportSettingsToFile) |
|
|
|
.setPositiveButton(R.string.pref_export_tofile, exportSettingsToFile) |
|
|
|
.setNeutralButton(R.string.pref_export_toqr, exportSettingsToQr) |
|
|
|
.setNeutralButton(R.string.pref_export_toqr, exportSettingsToQr) |
|
|
|
.setNegativeButton(android.R.string.cancel, null) |
|
|
|
.setNegativeButton(android.R.string.cancel, null) |
|
|
|