setTitle now uses resource id directly

This commit is contained in:
Victor Hazali
2016-04-01 10:34:52 +08:00
parent 8673777ae5
commit e627006fcf

View File

@@ -101,7 +101,7 @@ public class EditSubkeyDialogFragment extends DialogFragment {
private void showAlertDialog() {
CustomAlertDialogBuilder stripAlertDialog = new CustomAlertDialogBuilder(getActivity());
stripAlertDialog.setTitle(getResources().getString(R.string.title_alert_strip)).
stripAlertDialog.setTitle(R.string.title_alert_strip).
setMessage(R.string.alert_strip).setCancelable(true);
stripAlertDialog.setPositiveButton(R.string.strip, new DialogInterface.OnClickListener() {
@Override