Cleaning up warning

This commit is contained in:
2023-09-05 21:22:30 +02:00
parent ecfd0d1b93
commit e6fd8d4ab5
34 changed files with 119 additions and 183 deletions

View File

@@ -2,6 +2,6 @@ namespace FileTime.Core.Interactions;
public interface IOptionsInputElement : IInputElement
{
object Value { get; set; }
object? Value { get; set; }
IReadOnlyCollection<IOptionElement> Options { get; }
}

View File

@@ -153,7 +153,7 @@ public class CopyCommand : CommandBase, ITransportationCommand
var statusList = statuses.ToList();
var done = statusList.Count(s => s) + 1;
if (done > statusList.Count) done = statusList.Count;
return Task.FromResult($"Copy - {done} / {statusList.Count}");
})
.Subscribe(async (v, _) => await SetDisplayLabelAsync(v));