Refactor
This commit is contained in:
parent
e23e267d17
commit
31d6fc8197
20 changed files with 10 additions and 99 deletions
|
|
@ -84,7 +84,6 @@ namespace LibationWinForms.AvaloniaUI.ViewModels
|
|||
|
||||
#endregion
|
||||
|
||||
|
||||
private TimeSpan TimeRemaining { set { ETA = $"ETA: {value:mm\\:ss}"; } }
|
||||
private Processable CurrentProcessable => _currentProcessable ??= Processes.Dequeue().Invoke();
|
||||
private Processable NextProcessable() => _currentProcessable = null;
|
||||
|
|
@ -109,7 +108,6 @@ namespace LibationWinForms.AvaloniaUI.ViewModels
|
|||
// Mutable property. Set the field so PropertyChanged isn't fired.
|
||||
using var ms = new System.IO.MemoryStream(picture);
|
||||
_cover = new Bitmap(ms);
|
||||
|
||||
}
|
||||
|
||||
private void PictureStorage_PictureCached(object sender, PictureCachedEventArgs e)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue