Skip to content

Commit 3a5f192

Browse files
enh(icon-registry.service): access modifier on load method
Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com>
1 parent d77ce1a commit 3a5f192

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/services/icon-registry/icon-registry.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export class IconRegistryService {
77
private readonly _http = inject(HttpClient);
88
private readonly cache = new Map<'github' | 'linkedin', Observable<string>>();
99

10-
public load(name: 'github' | 'linkedin'): Observable<string> {
10+
load(name: 'github' | 'linkedin'): Observable<string> {
1111
if (!this.cache.has(name)) {
1212
const request$ = this._http.get(`/icons/${name}-icon.svg`, { responseType: 'text' }).pipe(
1313
map((svg) => svg.trim()),

0 commit comments

Comments
 (0)