Fixed issue #4427
This commit is contained in:
parent
72807105b9
commit
eb88381831
1 changed files with 1 additions and 2 deletions
|
@ -239,9 +239,8 @@ public class LiveUpdatesSettingsDialogFragment extends DialogFragment {
|
|||
|
||||
final IncrementalChangesManager changesManager =
|
||||
getMyApplication().getResourceManager().getChangesManager();
|
||||
final File baseFile = new File(localIndexInfo);
|
||||
final String fileNameWithoutExtension =
|
||||
Algorithms.getFileNameWithoutExtension(baseFile);
|
||||
Algorithms.getFileNameWithoutExtension(new File(localIndexInfo));
|
||||
AlertDialog.Builder builder = new AlertDialog.Builder(getActivity());
|
||||
builder.setMessage(getString(R.string.clear_updates_proposition_message)
|
||||
+ " " + getUpdatesSize(fileNameWithoutExtension, changesManager))
|
||||
|
|
Loading…
Reference in a new issue