mirror of
https://github.com/Crunchy-DL/Crunchy-Downloader.git
synced 2026-03-11 17:45:39 +00:00
Added **ability to switch between account profiles** [#372](https://github.com/Crunchy-DL/Crunchy-Downloader/issues/372). Added option to **execute a file when the download queue finishes** [#392](https://github.com/Crunchy-DL/Crunchy-Downloader/issues/392). Added **auto history refresh / auto add to queue** [#394](https://github.com/Crunchy-DL/Crunchy-Downloader/issues/394). Changed **font loading** to also include fonts from the local fonts folder that are not available on Crunchyroll [#371](https://github.com/Crunchy-DL/Crunchy-Downloader/issues/371). Updated packages to latest versions Fixed **history not being saved** after it was updated via the calendar Fixed **Downloaded toggle in history** being slow for large seasons
21 lines
No EOL
521 B
C#
21 lines
No EOL
521 B
C#
using Avalonia.Controls;
|
|
using Avalonia.Interactivity;
|
|
using CRD.Downloader;
|
|
using CRD.Utils.Sonarr;
|
|
using CRD.ViewModels;
|
|
|
|
namespace CRD.Views;
|
|
|
|
public partial class SettingsPageView : UserControl{
|
|
public SettingsPageView(){
|
|
InitializeComponent();
|
|
}
|
|
|
|
private void OnUnloaded(object? sender, RoutedEventArgs e){
|
|
if (DataContext is SettingsPageViewModel viewModel){
|
|
SonarrClient.Instance.RefreshSonarr();
|
|
ProgramManager.Instance.StartRunners();
|
|
}
|
|
}
|
|
|
|
} |