chore: adjust syntax for app manager

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
This commit is contained in:
Ferdinand Thiessen 2025-04-07 11:58:29 +02:00 committed by GitHub
parent 330b14b82a
commit 9dcbd76ced
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -30,7 +30,7 @@ class NeedNotificationsApp implements ISetupCheck {
}
public function run(): SetupResult {
if ($this->appManager->isEnabledForAnyone('notifications')) {
if ($this->appManager->isInstalled('notifications')) {
return SetupResult::success($this->l10n->t('This files_reminder can work properly.'));
} else {
return SetupResult::warning($this->l10n->t('The files_reminder app needs the notification app to work properly. You should either enable notifications or disable files_reminder.'));