feat: Add EXIF data removal option and update related UI bindings
Some checks failed
Build Windows Avalonia / build (push) Failing after 2m32s

This commit is contained in:
Maddo 2026-11-30 19:18:08 +01:00
commit fc0598e2fb
10 changed files with 104 additions and 72 deletions

View file

@ -12,6 +12,7 @@ public sealed class LiteCatalogViewModel : ViewModelBase
private readonly ILogger<LiteCatalogViewModel> _logger;
private CatalogLiteConfiguration? _configuration;
private CancellationTokenSource? _processingTokenSource;
private string _configurationPath = string.Empty;
private string _sourcePath = string.Empty;
private string _destinationPath = string.Empty;
private string _processingStatus = "Caricamento configurazione incorporata...";
@ -52,6 +53,16 @@ public sealed class LiteCatalogViewModel : ViewModelBase
public AsyncCommand StartProcessingCommand { get; }
public AsyncCommand StopProcessingCommand { get; }
public string ConfigurationPath
{
get => _configurationPath;
private set
{
_configurationPath = value;
NotifyPropertyChanged();
}
}
public string SourcePath
{
get => _sourcePath;
@ -172,6 +183,7 @@ public sealed class LiteCatalogViewModel : ViewModelBase
var configuration = _configurationLoader.LoadEmbedded(_picSettings);
_configuration = configuration;
ConfigurationPath = configuration.FilePath;
SourcePath = configuration.SourcePath;
DestinationPath = configuration.DestinationPath;
NotifyPropertyChanged(nameof(HorizontalText));