diff --git a/frontend/src/app/page/onboarding/notification/notification.component.html b/frontend/src/app/page/onboarding/notification/notification.component.html index 282f1f6..00dbde6 100644 --- a/frontend/src/app/page/onboarding/notification/notification.component.html +++ b/frontend/src/app/page/onboarding/notification/notification.component.html @@ -9,7 +9,9 @@
Die Mitteilungen kannst du jederzeit wieder deaktivieren.
\ No newline at end of file diff --git a/frontend/src/app/page/onboarding/notification/notification.component.ts b/frontend/src/app/page/onboarding/notification/notification.component.ts index 53fc40f..1362609 100644 --- a/frontend/src/app/page/onboarding/notification/notification.component.ts +++ b/frontend/src/app/page/onboarding/notification/notification.component.ts @@ -14,5 +14,11 @@ import {TextLinkComponent} from "../../../atomic/text-link/text-link.component"; styleUrl: './notification.component.css' }) export class NotificationComponent { - + enable_notifications() { + localStorage.setItem('get_notifications', 'true'); + } + + disable_notifications() { + localStorage.setItem('get_notifications', 'false'); + } }