Commit a76b8556 authored by fallenstardust's avatar fallenstardust

清空额外卡库后重新加载卡片数据

parent 79fea9ca
...@@ -225,6 +225,7 @@ public class SettingFragment extends PreferenceFragmentPlus { ...@@ -225,6 +225,7 @@ public class SettingFragment extends PreferenceFragmentPlus {
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()); FileUtils.delFile(mSettings.getExpansionsPath().getAbsolutePath());
DataManager.get().load(true);
Toast.makeText(getContext(), R.string.done, Toast.LENGTH_LONG).show(); Toast.makeText(getContext(), R.string.done, Toast.LENGTH_LONG).show();
dialog.dismiss(); dialog.dismiss();
}); });
......
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