Fix string

Dialog is closed.
This commit is contained in:
Zahnstocher 2017-04-06 11:07:38 +02:00 committed by GitHub
parent 30f16ee553
commit dbbe031c52

View file

@ -26,7 +26,7 @@ public class ActiveDownloadsDialogFragment extends DialogFragment implements Dow
@Override
public Dialog onCreateDialog(Bundle savedInstanceState) {
AlertDialog.Builder builder = new AlertDialog.Builder(getActivity());
builder.setTitle(R.string.downloads).setNegativeButton(R.string.shared_string_dismiss, null);
builder.setTitle(R.string.downloads).setNegativeButton(R.string.shared_string_close, null);
adapter = new IndexItemAdapter(this, getDownloadActivity());
builder.setAdapter(adapter, null);
return builder.create();
@ -94,4 +94,4 @@ public class ActiveDownloadsDialogFragment extends DialogFragment implements Dow
}
}