mirror of
https://github.com/friendica/friendica
synced 2025-04-25 06:30:11 +00:00
Replace obsolete calls to $APP->is_mobile in templates
This commit is contained in:
parent
586fb10176
commit
241cd32b14
5 changed files with 19 additions and 15 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue