Skip to content

Commit 902690c

Browse files
authored
Merge pull request #10 from quead/1.x-develop
1.9 - Cleaning the code
2 parents 07466f4 + 8af6698 commit 902690c

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

dist/inline.bundle.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/main.bundle.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/main.bundle.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/app/app.component.ts

-2
Original file line numberDiff line numberDiff line change
@@ -251,8 +251,6 @@ export class AppComponent implements OnInit {
251251
this.currentPlaylistItem = -1;
252252
this.playlistVideos = [];
253253
console.log(localStorage);
254-
localStorage.removeItem('settings');
255-
console.log(localStorage);
256254
}
257255

258256
// ---------------- Init settings ----------------

src/app/shared/lists.service.ts

+2
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@ export class SharedService {
9292
);
9393
} else {
9494
this.settings = JSON.parse(localStorage.getItem('settings'));
95+
observer.next(this.settings);
96+
observer.complete();
9597
}
9698
}
9799
});

0 commit comments

Comments
 (0)