mirror of
https://github.com/ckaczor/FeedCenter.git
synced 2026-02-16 10:58:31 -05:00
Tweak to look better during startup
This commit is contained in:
@@ -136,8 +136,6 @@ namespace FeedCenter
|
|||||||
|
|
||||||
private void InitializeDisplay()
|
private void InitializeDisplay()
|
||||||
{
|
{
|
||||||
UpdateToolbarButtonState();
|
|
||||||
|
|
||||||
// Get the last category (defaulting to none)
|
// Get the last category (defaulting to none)
|
||||||
_currentCategory = _database.Categories.FirstOrDefault(category => category.ID.ToString() == Settings.Default.LastCategoryID);
|
_currentCategory = _database.Categories.FirstOrDefault(category => category.ID.ToString() == Settings.Default.LastCategoryID);
|
||||||
DisplayCategory();
|
DisplayCategory();
|
||||||
@@ -145,6 +143,8 @@ namespace FeedCenter
|
|||||||
// Get the current feed list to match the category
|
// Get the current feed list to match the category
|
||||||
_feedList = _currentCategory?.Feeds.ToList() ?? _database.Feeds.ToList();
|
_feedList = _currentCategory?.Feeds.ToList() ?? _database.Feeds.ToList();
|
||||||
|
|
||||||
|
UpdateToolbarButtonState();
|
||||||
|
|
||||||
// Clear the link list
|
// Clear the link list
|
||||||
LinkTextList.Items.Clear();
|
LinkTextList.Items.Clear();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user