Replace obsolete calls to $APP->is_mobile in templates
[friendica.git/.git] / src / Module / Notifications / Introductions.php
index 2a8a6ef..ccd5963 100644 (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;
                        }