Typos and formatting
This commit is contained in:
parent
cab8555ab5
commit
3a48479435
@ -357,7 +357,7 @@ namespace AppScaffolding
|
||||
public static UpgradeProperties GetLatestRelease()
|
||||
{
|
||||
// timed out
|
||||
(var latest, var zip) = getLatestRelease(TimeSpan.FromSeconds(10000));
|
||||
(var latest, var zip) = getLatestRelease(TimeSpan.FromSeconds(10));
|
||||
|
||||
if (latest is null || zip is null)
|
||||
return null;
|
||||
|
||||
@ -81,7 +81,8 @@ namespace FileLiberator
|
||||
|
||||
LibraryBookDto = LibraryBook.ToDto();
|
||||
|
||||
cancellation = Configuration.Instance
|
||||
cancellation =
|
||||
Configuration.Instance
|
||||
.ObservePropertyChanged<long>(
|
||||
nameof(Configuration.DownloadSpeedLimit),
|
||||
newVal => DownloadSpeedChanged?.Invoke(this, newVal));
|
||||
|
||||
@ -5,7 +5,6 @@ using Dinah.Core;
|
||||
using LibationFileManager;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Linq;
|
||||
|
||||
namespace LibationAvalonia.Views
|
||||
@ -14,7 +13,6 @@ namespace LibationAvalonia.Views
|
||||
public partial class MainWindow
|
||||
{
|
||||
private InterruptableTimer autoScanTimer;
|
||||
private IDisposable cancellation;
|
||||
|
||||
private void Configure_ScanAuto()
|
||||
{
|
||||
|
||||
@ -7,7 +7,7 @@ namespace LibationFileManager
|
||||
/*
|
||||
* Use this type in the getter for any Dictionary<TKey, TValue> settings,
|
||||
* and be sure to clone it before returning. This allows Configuration to
|
||||
* accurately detect if an of the Dictionary's elements have changed.
|
||||
* accurately detect if any of the Dictionary's elements have changed.
|
||||
*/
|
||||
private class EquatableDictionary<TKey, TValue> : Dictionary<TKey, TValue>
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user