diff --git a/Opus/Code/DataStructure/SearchableList.cs b/Opus/Code/DataStructure/SearchableList.cs index 9d99931..f606c6d 100644 --- a/Opus/Code/DataStructure/SearchableList.cs +++ b/Opus/Code/DataStructure/SearchableList.cs @@ -23,7 +23,7 @@ namespace Opus.DataStructure private Func filter = x => true; public SearchableList() { } - public SearchableList(IEnumerable collection) : base(collection) { AddRange(collection); } + public SearchableList(IEnumerable collection) : base(collection) { } public void SetFilter(Func filter) { diff --git a/Opus/Code/UI/Fragments/Home.cs b/Opus/Code/UI/Fragments/Home.cs index 1019b95..a52e411 100644 --- a/Opus/Code/UI/Fragments/Home.cs +++ b/Opus/Code/UI/Fragments/Home.cs @@ -208,7 +208,7 @@ namespace Opus.Fragments public void RefreshFavs() { - adapterItems.Find(x => x.SectionTitle == GetString(Resource.String.favorite)).recycler.GetAdapter().NotifyDataSetChanged(); + adapterItems.Find(x => x.SectionTitle == GetString(Resource.String.favorite))?.recycler.GetAdapter().NotifyDataSetChanged(); } public void NotifyQueueInserted(int position)