correction de tous les bugs niveaux 1 (faibles)

This commit is contained in:
MiharyR 2021-12-16 13:45:05 +01:00
parent b5bb8e7cc4
commit f2ced83246
26 changed files with 53 additions and 38 deletions

View file

@ -1,10 +1,30 @@
import { Injectable } from '@angular/core';
import {Injectable} from '@angular/core';
@Injectable({
providedIn: 'root'
providedIn: 'root'
})
export class ProfilService
{
public id: string = "" ;
public profileImageUrl: string = "";
getId(): string
{
return localStorage.getItem('id');
}
getProfileImageUrl(): string
{
return localStorage.getItem('profileImageUrl');
}
setId(id: string): void
{
localStorage.setItem('id', id);
}
setProfileImageUrl(profileImageUrl: string): void
{
localStorage.setItem('profileImageUrl', profileImageUrl);
}
}