don't show deleted plugins in plugins list
This commit is contained in:
parent
2e78b58678
commit
46a2a83ff9
@ -186,8 +186,14 @@ public class IITC_PluginPreferenceActivity extends PreferenceActivity {
|
|||||||
plugin_name = plugin_name.replace("IITC plugin: ", "");
|
plugin_name = plugin_name.replace("IITC plugin: ", "");
|
||||||
|
|
||||||
// add [User] tag to user plugins
|
// add [User] tag to user plugins
|
||||||
if (user)
|
if (user) {
|
||||||
plugin_cat = USER_PLUGIN + plugin_cat;
|
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
|
// now we have all stuff together and can build the preference
|
||||||
// first check if we need a new category
|
// first check if we need a new category
|
||||||
|
Loading…
x
Reference in New Issue
Block a user