Commit 355e6048 authored by fallenstardust's avatar fallenstardust

fix

parent 42cbf58e
...@@ -224,11 +224,11 @@ public class SettingFragment extends PreferenceFragmentPlus { ...@@ -224,11 +224,11 @@ public class SettingFragment extends PreferenceFragmentPlus {
dialog.setTitle(R.string.question); dialog.setTitle(R.string.question);
dialog.setMessage(R.string.ask_delete_ex); dialog.setMessage(R.string.ask_delete_ex);
dialog.setLeftButtonListener((dlg, s) -> { dialog.setLeftButtonListener((dlg, s) -> {
FileUtils.delFile(mSettings.getExpansionsPath().getAbsolutePath());
Toast.makeText(getContext(), R.string.done, Toast.LENGTH_LONG).show();
dialog.dismiss(); dialog.dismiss();
}); });
dialog.setRightButtonListener((dlg, s) -> { dialog.setRightButtonListener((dlg, s) -> {
FileUtils.delFile(mSettings.getExpansionsPath().getAbsolutePath());
Toast.makeText(getContext(), R.string.done, Toast.LENGTH_LONG).show();
dialog.dismiss(); dialog.dismiss();
}); });
dialog.show(); dialog.show();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment