mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-04-14 11:46:23 +00:00
fix(mobile): provide Challenge categories via API
This commit is contained in:
parent
836807aa1e
commit
9948e8ee44
2 changed files with 4 additions and 2 deletions
|
|
@ -17,7 +17,7 @@ import {
|
|||
} from './constants';
|
||||
|
||||
import achievements from './achievements';
|
||||
|
||||
import categoryOptions from './categoryOptions';
|
||||
import eggs from './eggs';
|
||||
import hatchingPotions from './hatching-potions';
|
||||
import stable from './stable';
|
||||
|
|
@ -85,6 +85,8 @@ api.officialPinnedItems = officialPinnedItems;
|
|||
|
||||
api.bundles = bundles;
|
||||
|
||||
api.categoryOptions = categoryOptions;
|
||||
|
||||
/*
|
||||
---------------------------------------------------------------
|
||||
Unique Rewards: Potion and Armoire
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ const MOBILE_FILTER = ['achievements', 'questSeriesAchievements', 'animalColorAc
|
|||
'stableAchievements', 'bundles', 'loginIncentives', 'pets', 'premiumPets', 'specialPets', 'questPets',
|
||||
'wackyPets', 'mounts', 'premiumMounts,specialMounts,questMounts', 'events', 'dropEggs', 'questEggs', 'dropHatchingPotions',
|
||||
'premiumHatchingPotions', 'wackyHatchingPotions', 'backgroundsFlat', 'questsByLevel', 'gear.tree', 'tasksByCategory',
|
||||
'userDefaults', 'timeTravelStable', 'gearTypes', 'cardTypes'];
|
||||
'userDefaults', 'timeTravelStable', 'gearTypes', 'cardTypes', 'categoryOptions'];
|
||||
|
||||
const ANDROID_FILTER = [...MOBILE_FILTER, 'appearances.background'].join(',');
|
||||
const IOS_FILTER = [...MOBILE_FILTER, 'backgrounds'].join(',');
|
||||
|
|
|
|||
Loading…
Reference in a new issue