Commit f7799044 authored by Mark Harding's avatar Mark Harding

(chore): cleanup

No related merge requests found
Pipeline #115211564 failed with stages
in 11 minutes and 34 seconds
......@@ -13,6 +13,12 @@ m-activity {
@include m-theme() {
background: themed($m-bgColor--primary);
}
.m-comment .minds-avatar {
@include m-theme() {
background: themed($m-bgColor--primary);
}
}
}
.m-activity--fixedHeight {
......
import {
Component,
HostListener,
ViewChild,
Input,
HostBinding,
} from '@angular/core';
import { Subscription } from 'rxjs';
import { Component, Input, HostBinding } from '@angular/core';
import { ActivityService as ActivityServiceCommentsLegacySupport } from '../../../common/services/activity.service';
import { ActivatedRoute, Router } from '@angular/router';
import { ActivityService } from './activity.service';
@Component({
......
import {
Component,
HostListener,
ViewChild,
Input,
ElementRef,
} from '@angular/core';
import { Component } from '@angular/core';
import { Subscription } from 'rxjs';
import { ActivatedRoute, Router } from '@angular/router';
import { Router } from '@angular/router';
import { ActivityService, ActivityEntity } from '../activity.service';
import { ConfigsService } from '../../../../common/services/configs.service';
import { Session } from '../../../../services/session';
import { MindsUser, MindsGroup } from '../../../../interfaces/entities';
import { OverlayModalService } from '../../../../services/ux/overlay-modal';
import { MediaModalComponent } from '../../../media/modal/modal.component';
@Component({
selector: 'm-activity__menu',
......@@ -24,11 +13,7 @@ export class ActivityMenuComponent {
entity: ActivityEntity;
constructor(
public service: ActivityService,
private overlayModal: OverlayModalService,
private router: Router
) {}
constructor(public service: ActivityService, private router: Router) {}
ngOnInit() {
this.entitySubscription = this.service.entity$.subscribe(
......
import {
Component,
HostListener,
ViewChild,
Input,
ElementRef,
} from '@angular/core';
import { Component } from '@angular/core';
import { Observable } from 'rxjs';
import { ActivityService, ActivityEntity } from '../activity.service';
......
......@@ -41,6 +41,7 @@ m-activity__nsfwConsent {
cursor: pointer;
@include m-theme() {
background-color: themed($m-bgColor--primary);
color: themed($m-textColor--primary);
border-color: themed($m-borderColor--primary);
}
......
import {
Component,
HostListener,
ViewChild,
Input,
ElementRef,
} from '@angular/core';
import { Subscription, Observable } from 'rxjs';
import { Component } from '@angular/core';
import { Observable } from 'rxjs';
import { ActivatedRoute, Router } from '@angular/router';
import { ActivityService, ActivityEntity } from '../activity.service';
import { ConfigsService } from '../../../../common/services/configs.service';
import { Session } from '../../../../services/session';
import { MindsUser, MindsGroup } from '../../../../interfaces/entities';
import { OverlayModalService } from '../../../../services/ux/overlay-modal';
import { MediaModalComponent } from '../../../media/modal/modal.component';
import { map } from 'rxjs/operators';
import { NSFW_REASONS } from '../../../../common/components/nsfw-selector/nsfw-selector.service';
......@@ -47,11 +35,7 @@ export class ActivityNsfwConsentComponent {
})
);
constructor(
public service: ActivityService,
private overlayModal: OverlayModalService,
private router: Router
) {}
constructor(public service: ActivityService) {}
onConsentedClick(e: MouseEvent): void {
this.service.isNsfwConsented$.next(true);
......
import { Component, HostBinding } from '@angular/core';
import { Subscription } from 'rxjs';
import { ActivatedRoute, Router } from '@angular/router';
import { ActivityService, ActivityEntity } from '../activity.service';
import { ConfigsService } from '../../../../common/services/configs.service';
import { Session } from '../../../../services/session';
......
import { Component, HostListener, ViewChild, Input } from '@angular/core';
import { Component } from '@angular/core';
import { Subscription } from 'rxjs';
import { ActivatedRoute, Router } from '@angular/router';
import { ActivityService, ActivityEntity } from '../activity.service';
import { ConfigsService } from '../../../../common/services/configs.service';
import { Session } from '../../../../services/session';
import { MindsUser, MindsGroup } from '../../../../interfaces/entities';
@Component({
selector: 'm-activity__toolbar',
......@@ -16,11 +12,7 @@ export class ActivityToolbarComponent {
entity: ActivityEntity;
constructor(
public service: ActivityService,
private configs: ConfigsService,
private session: Session
) {}
constructor(public service: ActivityService) {}
ngOnInit() {
this.entitySubscription = this.service.entity$.subscribe(
......
Please register or to comment