2024-05-04 15:35:32 +00:00
|
|
|
|
using Avalonia;
|
|
|
|
|
using Avalonia.Controls;
|
2024-06-11 21:58:44 +00:00
|
|
|
|
using Avalonia.Interactivity;
|
2024-05-04 15:35:32 +00:00
|
|
|
|
using Avalonia.Markup.Xaml;
|
2024-06-11 21:58:44 +00:00
|
|
|
|
using CRD.Downloader;
|
|
|
|
|
using CRD.Utils.Sonarr;
|
2024-05-04 15:35:32 +00:00
|
|
|
|
using CRD.ViewModels;
|
|
|
|
|
|
|
|
|
|
namespace CRD.Views;
|
|
|
|
|
|
|
|
|
|
public partial class SettingsPageView : UserControl{
|
|
|
|
|
public SettingsPageView(){
|
|
|
|
|
InitializeComponent();
|
|
|
|
|
}
|
2024-06-11 21:58:44 +00:00
|
|
|
|
|
|
|
|
|
private void OnUnloaded(object? sender, RoutedEventArgs e){
|
|
|
|
|
if (DataContext is SettingsPageViewModel viewModel){
|
|
|
|
|
Crunchyroll.Instance.RefreshSonarr();
|
|
|
|
|
}
|
|
|
|
|
}
|
2024-05-04 15:35:32 +00:00
|
|
|
|
}
|