(iOS) Use setting_is_of_general_type

This commit is contained in:
Twinaphex 2015-05-06 00:55:19 +02:00
parent 104c11f719
commit e18aaf899e

View File

@ -852,7 +852,7 @@ static void *menu_item_init(ios_menu_item_t *item, unsigned type)
initWithSetting:setting
action:^{}]];
}
else if (setting && ST_ACTION < setting->type && setting->type < ST_GROUP)
else if (setting_is_of_general_type(setting))
{
[everything
addObject: