Skip to content

Commit db714b9

Browse files
committed
2.3 - Fixed set settings for app when logged
1 parent 7d673d1 commit db714b9

File tree

4 files changed

+7
-8
lines changed

4 files changed

+7
-8
lines changed

src/app/app.component.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ export class AppComponent implements OnInit {
137137
if (data.length > 0) {
138138
this.currentVideo = data['2'];
139139
this.shareLink = 'https://youtu.be/' + this.currentVideo.id;
140-
this.getRelatedVideos();
140+
this.getRelatedVideos();
141141
} else {
142142
this.setDefaultPlayer();
143143
}
@@ -435,7 +435,6 @@ export class AppComponent implements OnInit {
435435
this.displayVideoPlayer = this._shared.settings.form_settings[2].value;
436436
this.repeatMode = this._shared.settings.form_settings[3].value;
437437
this.darkMode = this._shared.settings.form_settings[4].value;
438-
this.getFeedVideos();
439438
}
440439
}
441440

src/app/components/youtube-about.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<h2>About</h2>
33
</div>
44
<div class="app-content">
5-
<p>This is a simple youtube web player and desktop player based on angular-cli 1.4, NWjs 0.25.2, ngx-youtube-player 0.1.0 (used for youtube iFrame API), SCSS (CSS3), HTML5 and webkit functions.</p>
5+
<p>This is a simple youtube web player and desktop player based on angular-cli 1.7.3, ngx-youtube-player 6.0.0 (by orizens, used for youtube iFrame API), SCSS (CSS3), HTML5.</p>
66
<p>This player is compatible only with Chrome/webkit browsers.</p>
77
<p>The project status is beta.</p>
88
</div>

src/assets/scss/_controls.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@
176176
.duration-range-container {
177177
position: relative;
178178
height: 3px;
179-
background-color: rgba(0,0,0,0.2);
179+
background-color: var(--c-gray);
180180
width: 100%;
181181
border-radius: 20px;
182182
.duration-input-shadow {
@@ -198,7 +198,7 @@
198198
&::-webkit-slider-thumb {
199199
position: relative;
200200
-webkit-appearance: none;
201-
top: 0;
201+
top: -3px;
202202
height: 15px;
203203
width: 15px;
204204
border-radius: 50px;

src/assets/scss/_variables.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,9 @@ $f-32: 32px;
7373
--c-success: #23CF5F;
7474
--c-success-active: #1db351;
7575

76-
--c-gray: rgba(#000, 0.35);
77-
--c-light-gray: rgba(#000, 0.6);
78-
--c-dark-gray: rgba(#000, 0.2);
76+
--c-gray: rgba(0,0,0, 0.35);
77+
--c-light-gray: rgba(0,0,0, 0.6);
78+
--c-dark-gray: rgba(0,0,0, 0.2);
7979
--c-white: #ffffff;
8080
--c-soft-white: #DFDFDF;
8181
--c-black: #000000;

0 commit comments

Comments
 (0)