don't show deleted plugins in plugins list

This commit is contained in:
Philipp Schaefer 2013-09-18 21:16:19 +02:00
parent 2e78b58678
commit 46a2a83ff9

View File

@ -186,8 +186,14 @@ public class IITC_PluginPreferenceActivity extends PreferenceActivity {
plugin_name = plugin_name.replace("IITC plugin: ", "");
// add [User] tag to user plugins
if (user)
if (user) {
plugin_cat = USER_PLUGIN + plugin_cat;
}
// do not add deleted plugins
if (plugin_cat.equals("Deleted")) {
return;
}
// now we have all stuff together and can build the preference
// first check if we need a new category