mirror of
https://github.com/ckaczor/FeedCenter.git
synced 2026-02-05 01:25:39 -05:00
More UI updates and cleanup
This commit is contained in:
@@ -72,7 +72,7 @@ public partial class MainWindow
|
||||
// If the category changed then reset the current feed to the first in the category
|
||||
if (_currentCategory?.Id != category?.Id)
|
||||
{
|
||||
_currentFeed = category == null ? _database.Feeds.FirstOrDefault() : category.Feeds.FirstOrDefault();
|
||||
_currentFeed = category == null ? _database.Feeds.FirstOrDefault() : _database.Feeds.FirstOrDefault(f => f.CategoryId == category.Id);
|
||||
}
|
||||
|
||||
// Set the current category
|
||||
|
||||
Reference in New Issue
Block a user