mirror of
https://github.com/tgeorgiadis/quiver-launcher.git
synced 2026-11-23 06:01:15 -05:00
Release Quiver Launcher 3.4.1
This commit is contained in:
1 parent
c0d36e920d
commit
3ce7d677a1
58 files changed
+2931
-157
No files matched your search
@@ -34,7 +34,16 @@ public sealed class ShellViewModel : ObservableViewModel
|
||||
private string? _lastLauncherCheckNote;
|
||||
private string _updateCheckStatus = "";
|
||||
public string UpdateCheckStatus { get => _updateCheckStatus; set => Set(ref _updateCheckStatus, value); }
|
||||
public bool ShowUpdateCheckStatus => IsCheckingUpdates || !string.IsNullOrEmpty(LastLauncherCheckNote);
|
||||
private bool _updateCheckStatusDismissed;
|
||||
public bool ShowUpdateCheckStatus => IsCheckingUpdates ||
|
||||
(!_updateCheckStatusDismissed && !string.IsNullOrEmpty(LastLauncherCheckNote));
|
||||
|
||||
public void DismissUpdateCheckStatus()
|
||||
{
|
||||
if (IsCheckingUpdates) return;
|
||||
_updateCheckStatusDismissed = true;
|
||||
Notify(nameof(ShowUpdateCheckStatus));
|
||||
}
|
||||
public string? LastLauncherCheckNote
|
||||
{
|
||||
get => _lastLauncherCheckNote;
|
||||
@@ -69,6 +78,7 @@ public sealed class ShellViewModel : ObservableViewModel
|
||||
return;
|
||||
|
||||
_isCheckingUpdates = value;
|
||||
if (value) _updateCheckStatusDismissed = false;
|
||||
Notify(nameof(IsCheckingUpdates));
|
||||
NotifyUpdateCheckUiProperties();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user