fix(mobile): let mobile reg handle default tasks and tags

This commit is contained in:
Sabe Jones
2017-09-26 21:40:06 +00:00
parent c8d5eb9689
commit a515168766
2 changed files with 2 additions and 2 deletions

View File

@@ -33,7 +33,7 @@ function findTag (user, tagName) {
function _populateDefaultTasks (user, taskTypes) {
let defaultsData;
if (user.registeredThrough === 'habitica-android' || user.registeredThrough === 'habitica-ios') {
defaultsData = shared.content.userDefaultsMobile;
return;
} else {
defaultsData = shared.content.userDefaults;
}