mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-03-11 15:20:56 +03:00
* Fixed download spinner in player component * Downloads UI is more mobile friendly (#905) * Code cleanup * Fixed size of actions in home screen downloads * Errored downloads now display their stage as "Error" in the UI * Moved personal settings from about dialog to profile dialog * Profile dialog can now be opened without logging in/without multi-user mode * Fixed issue where archive dialog could be accessed from anywhere * Misc internationalization improvements * Combined download stage and download progress columns * Added back loading spinner to download actions * Adjusted thresholds for consolidating download action buttons * Implemented virtual scrolling for notifications (helps if many notifications exist) * Fixed minor console error
33 lines
984 B
TypeScript
33 lines
984 B
TypeScript
import { Component, OnInit } from '@angular/core';
|
|
import { PostsService } from 'app/posts.services';
|
|
import { CURRENT_VERSION } from 'app/consts';
|
|
|
|
@Component({
|
|
selector: 'app-about-dialog',
|
|
templateUrl: './about-dialog.component.html',
|
|
styleUrls: ['./about-dialog.component.scss']
|
|
})
|
|
export class AboutDialogComponent implements OnInit {
|
|
|
|
projectLink = 'https://github.com/Tzahi12345/YoutubeDL-Material';
|
|
issuesLink = 'https://github.com/Tzahi12345/YoutubeDL-Material/issues';
|
|
latestUpdateLink = 'https://github.com/Tzahi12345/YoutubeDL-Material/releases/latest'
|
|
latestGithubRelease = null;
|
|
checking_for_updates = true;
|
|
|
|
current_version_tag = CURRENT_VERSION;
|
|
|
|
constructor(public postsService: PostsService) { }
|
|
|
|
ngOnInit(): void {
|
|
this.getLatestGithubRelease();
|
|
}
|
|
|
|
getLatestGithubRelease() {
|
|
this.postsService.getLatestGithubRelease().subscribe(res => {
|
|
this.checking_for_updates = false;
|
|
this.latestGithubRelease = res;
|
|
});
|
|
}
|
|
}
|