mirror of
https://github.com/ckaczor/FeedCenter.git
synced 2026-01-22 01:25:38 -05:00
Start cleaning up account types
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
using FeedCenter.Properties;
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Input;
|
||||
|
||||
@@ -8,6 +8,7 @@ using System.Linq;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows;
|
||||
using FeedCenter.Accounts;
|
||||
|
||||
namespace FeedCenter;
|
||||
|
||||
@@ -47,7 +48,7 @@ public partial class MainWindow
|
||||
var accountReadInput = new AccountReadInput(_database, _currentFeed.Id, forceRead, () => { });
|
||||
|
||||
// Switch to progress mode
|
||||
SetProgressMode(true, await _currentFeed.Account.GetProgressSteps(_currentFeed.Account, accountReadInput));
|
||||
SetProgressMode(true, await _currentFeed.Account.GetProgressSteps(accountReadInput));
|
||||
|
||||
// Start reading
|
||||
await HandleFeedReadWorkerStart(forceRead, _currentFeed.Id);
|
||||
@@ -77,7 +78,7 @@ public partial class MainWindow
|
||||
|
||||
foreach (var account in _database.Accounts)
|
||||
{
|
||||
progressSteps += await account.GetProgressSteps(account, accountReadInput);
|
||||
progressSteps += await account.GetProgressSteps(accountReadInput);
|
||||
}
|
||||
|
||||
// Switch to progress mode
|
||||
|
||||
Reference in New Issue
Block a user