Commit 377ecc3b authored by fallenstardust's avatar fallenstardust

tweak

parent 6e789d4c
...@@ -180,7 +180,7 @@ public abstract class BaseCardsAcitivity extends BaseActivity implements CardLoa ...@@ -180,7 +180,7 @@ public abstract class BaseCardsAcitivity extends BaseActivity implements CardLoa
} }
}) })
) )
.alwaysShow(true)//总是显示,调试时可以打开 //.alwaysShow(true)//总是显示,调试时可以打开
.show(); .show();
} }
......
...@@ -225,10 +225,10 @@ public class SettingFragment extends PreferenceFragmentPlus { ...@@ -225,10 +225,10 @@ public class SettingFragment extends PreferenceFragmentPlus {
Beta.checkUpgrade(); Beta.checkUpgrade();
} }
if (PREF_DEL_EX.equals(key)) { if (PREF_DEL_EX.equals(key)) {
File[] yrps = new File(AppsSettings.get().getExpansionsPath().getAbsolutePath()).listFiles(); File[] ypks = new File(AppsSettings.get().getExpansionsPath().getAbsolutePath()).listFiles();
List<String> list = new ArrayList<>(); List<String> list = new ArrayList<>();
for (int i = 0; i < yrps.length; i++) { for (int i = 0; i < ypks.length; i++) {
list.add(yrps[i].getName()); list.add(ypks[i].getName());
} }
SimpleListAdapter simpleListAdapter = new SimpleListAdapter(getContext()); SimpleListAdapter simpleListAdapter = new SimpleListAdapter(getContext());
simpleListAdapter.set(list); simpleListAdapter.set(list);
......
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