refactor to define helper service more accurately

This commit is contained in:
itzMiney committed 2026-03-17 23:21:12 +01:00
1 parent 5527acfb6a
commit 7618e4bf5d
28 files changed
+78 -403

No files matched your search

+4 -4
View File
@@ -1,6 +1,6 @@
import {Component, OnInit} from '@angular/core';
import {NgStyle} from '@angular/common';
import {DeviceDetectorService} from '../shared/services/device-detector.service';
import {ViewportService} from '../shared/services/viewport.service';
import {Title} from '@angular/platform-browser';
import {TranslatePipe} from '@ngx-translate/core';
import {ParallaxComponent} from '../shared/parallax/parallax.component';
@@ -16,14 +16,14 @@ import {ParallaxComponent} from '../shared/parallax/parallax.component';
styleUrl: './socials.component.css'
})
export class SocialsComponent implements OnInit {
isMobile: boolean = false;
isNarrow: boolean = false;
constructor(
private deviceService: DeviceDetectorService,
private deviceService: ViewportService,
private titleService: Title
) {}
ngOnInit() {
this.titleService.setTitle('Socials | itzMiney');
this.isMobile = this.deviceService.isMobile;
this.isNarrow = this.deviceService.isNarrow;
}
}