feat: Add EXIF data removal option and update related UI bindings
Some checks failed
Build Windows Avalonia / build (push) Failing after 2m32s
Some checks failed
Build Windows Avalonia / build (push) Failing after 2m32s
This commit is contained in:
parent
e9142df97c
commit
fc0598e2fb
10 changed files with 104 additions and 72 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue