Replace obsolete calls to $APP->is_mobile in templates

This commit is contained in:
Hypolite Petovan
2020-12-23 03:25:55 -05:00
parent 586fb10176
commit 241cd32b14
5 changed files with 19 additions and 15 deletions

View File

@@ -112,6 +112,7 @@ class Introductions extends BaseNotifications
'$note' => $notification->getNote(),
'$ignore' => DI::l10n()->t('Ignore'),
'$discard' => DI::l10n()->t('Discard'),
'$is_mobile' => DI::mode()->isMobile(),
]);
break;
@@ -190,6 +191,7 @@ class Introductions extends BaseNotifications
'$ignore' => DI::l10n()->t('Ignore'),
'$discard' => $discard,
'$action' => $action,
'$is_mobile' => DI::mode()->isMobile(),
]);
break;
}