Skip to content

Commit

Permalink
Remove unneeded block
Browse files Browse the repository at this point in the history
  • Loading branch information
seadowg committed Dec 4, 2019
1 parent 284b8d6 commit a356572
Showing 1 changed file with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,9 @@ private QuitFormDialog() {
}

public static AlertDialog show(Context context, FormController formController, Listener listener) {
String title;
{
title = (formController == null) ? null : formController.getFormTitle();
if (title == null) {
title = context.getString(R.string.no_form_loaded);
}
String title = (formController == null) ? null : formController.getFormTitle();
if (title == null) {
title = context.getString(R.string.no_form_loaded);
}

List<IconMenuItem> items;
Expand Down

0 comments on commit a356572

Please sign in to comment.