Cleaning up warning
This commit is contained in:
@@ -15,13 +15,13 @@ public partial class RootDriveInfo
|
||||
|
||||
[Notify] private string? _label;
|
||||
|
||||
[Notify] private long _size = 0;
|
||||
[Notify] private long _size;
|
||||
|
||||
[Notify] private long _free = 0;
|
||||
[Notify] private long _free;
|
||||
|
||||
[Notify] private long _used = 0;
|
||||
[Notify] private long _used;
|
||||
|
||||
[Notify] public long UsedPercentage => Size == 0 ? 0 : Used * 100 / Size;
|
||||
public long UsedPercentage => Size == 0 ? 0 : Used * 100 / Size;
|
||||
|
||||
public FullName Path { get; }
|
||||
|
||||
|
||||
@@ -298,7 +298,9 @@ public sealed partial class LocalContentProvider : ContentProviderBase, ILocalCo
|
||||
var lockObj = new object();
|
||||
var loadingIndicatorCancellation = new CancellationTokenSource();
|
||||
|
||||
#pragma warning disable CS4014
|
||||
Task.Run(async () => await DelayedLoadingIndicator());
|
||||
#pragma warning restore CS4014
|
||||
await LoadChildrenInternal();
|
||||
|
||||
lock (lockObj)
|
||||
|
||||
@@ -4,7 +4,7 @@ public class AdminElevationConfiguration
|
||||
{
|
||||
public const string SectionName = "AdminElevation";
|
||||
public string? ServerExecutablePath { get; set; }
|
||||
public string LinuxElevationTool { get; set; }
|
||||
public string LinuxElevationTool { get; set; } = null!;
|
||||
public int? ServerPort { get; set; }
|
||||
public bool? StartProcess { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user