This commit is contained in:
PaulStets 2017-09-22 18:49:28 +03:00
parent 72807105b9
commit eb88381831

View file

@ -239,9 +239,8 @@ public class LiveUpdatesSettingsDialogFragment extends DialogFragment {
final IncrementalChangesManager changesManager = final IncrementalChangesManager changesManager =
getMyApplication().getResourceManager().getChangesManager(); getMyApplication().getResourceManager().getChangesManager();
final File baseFile = new File(localIndexInfo);
final String fileNameWithoutExtension = final String fileNameWithoutExtension =
Algorithms.getFileNameWithoutExtension(baseFile); Algorithms.getFileNameWithoutExtension(new File(localIndexInfo));
AlertDialog.Builder builder = new AlertDialog.Builder(getActivity()); AlertDialog.Builder builder = new AlertDialog.Builder(getActivity());
builder.setMessage(getString(R.string.clear_updates_proposition_message) builder.setMessage(getString(R.string.clear_updates_proposition_message)
+ " " + getUpdatesSize(fileNameWithoutExtension, changesManager)) + " " + getUpdatesSize(fileNameWithoutExtension, changesManager))