mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 23:27:26 +01:00
feat(sharing): More opt outs
Also fixes a bug where "Display Now" didn't work for pets with a space in their name.
This commit is contained in:
@@ -65,7 +65,7 @@ habitrpg.controller('NotificationCtrl',
|
||||
if (after > before) {
|
||||
Notification.lvl();
|
||||
$rootScope.playSound('Level_Up');
|
||||
$rootScope.openModal('levelUp', {controller:'UserCtrl', size:'sm'});
|
||||
if (!User.user.preferences.suppressModals.levelUp) $rootScope.openModal('levelUp', {controller:'UserCtrl', size:'sm'});
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user