mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
[GUI] Add options visibility toggle in ImageChecksumViewModel
This commit is contained in:
@@ -87,6 +87,8 @@ public sealed partial class ImageChecksumViewModel : ViewModelBase
|
||||
[ObservableProperty]
|
||||
bool _optionsEnabled;
|
||||
[ObservableProperty]
|
||||
bool _optionsVisible;
|
||||
[ObservableProperty]
|
||||
bool _progress1Visible;
|
||||
[ObservableProperty]
|
||||
double _progress2Max;
|
||||
@@ -135,6 +137,7 @@ public sealed partial class ImageChecksumViewModel : ViewModelBase
|
||||
_cancel = false;
|
||||
_inputFormat = inputFormat;
|
||||
ChecksumTracksChecked = ChecksumTracksVisible;
|
||||
OptionsVisible = true;
|
||||
OptionsEnabled = true;
|
||||
ChecksumMediaChecked = true;
|
||||
ChecksumTracksChecked = true;
|
||||
@@ -586,7 +589,7 @@ public sealed partial class ImageChecksumViewModel : ViewModelBase
|
||||
|
||||
await Dispatcher.UIThread.InvokeAsync(() =>
|
||||
{
|
||||
OptionsEnabled = false;
|
||||
OptionsVisible = false;
|
||||
ResultsVisible = true;
|
||||
ProgressVisible = false;
|
||||
StartCommandVisible = false;
|
||||
|
||||
Reference in New Issue
Block a user