mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-03-17 10:10:56 +03:00
Settings dialog now says "cancel" when settings are changed and "close" otherwise
This commit is contained in:
@@ -22,6 +22,17 @@ export class SettingsComponent implements OnInit {
|
||||
loading_config = false;
|
||||
generated_bookmarklet_code = null;
|
||||
|
||||
_settingsSame = true;
|
||||
|
||||
get settingsAreTheSame() {
|
||||
this._settingsSame = this.settingsSame()
|
||||
return this._settingsSame;
|
||||
}
|
||||
|
||||
set settingsAreTheSame(val) {
|
||||
this._settingsSame = val;
|
||||
}
|
||||
|
||||
constructor(private postsService: PostsService, private snackBar: MatSnackBar, private sanitizer: DomSanitizer,
|
||||
private dialog: MatDialog) { }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user