From fe897318d70b0d6bed7bee5351a75a379da245e9 Mon Sep 17 00:00:00 2001 From: Nicolas Constant Date: Sat, 13 Apr 2019 13:46:37 -0400 Subject: [PATCH] clean up --- .../manage-account/mentions/mentions.component.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/app/components/floating-column/manage-account/mentions/mentions.component.ts b/src/app/components/floating-column/manage-account/mentions/mentions.component.ts index 222283f4..c049605f 100644 --- a/src/app/components/floating-column/manage-account/mentions/mentions.component.ts +++ b/src/app/components/floating-column/manage-account/mentions/mentions.component.ts @@ -7,7 +7,7 @@ import { StatusWrapper } from '../../../../models/common.model'; import { Status, Notification } from '../../../../services/models/mastodon.interfaces'; import { MastodonService } from '../../../../services/mastodon.service'; import { NotificationService } from '../../../../services/notification.service'; -import { ToolsService, OpenThreadEvent } from '../../../../services/tools.service'; +import { OpenThreadEvent } from '../../../../services/tools.service'; @Component({ @@ -28,12 +28,8 @@ export class MentionsComponent implements OnInit, OnDestroy { @Input('account') set account(acc: AccountWrapper) { - console.warn('account'); this._account = acc; this.loadMentions(); - - const accountSettings = this.toolsService.getAccountSettings(acc.info); - console.warn(accountSettings); } get account(): AccountWrapper { return this._account; @@ -47,7 +43,6 @@ export class MentionsComponent implements OnInit, OnDestroy { private lastId: string; constructor( - private readonly toolsService: ToolsService, private readonly notificationService: NotificationService, private readonly userNotificationService: UserNotificationService, private readonly mastodonService: MastodonService) {