Skip to content

Commit

Permalink
fix: Fix saving filter rules
Browse files Browse the repository at this point in the history
  • Loading branch information
Samir L. Boulema committed Sep 15, 2021
1 parent fdea013 commit d02e2a9
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions CodeNav.Shared/Helpers/SettingsHelper.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using CodeNav.Models;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;

namespace CodeNav.Helpers
Expand Down Expand Up @@ -54,10 +53,7 @@ private static ObservableCollection<FilterRule> LoadFilterRules()
}
catch (Exception)
{
// Ignore error while loading filter rules
}
finally
{
// Ignore error while loading filter rules
_filterRules = new ObservableCollection<FilterRule>();
}

Expand Down

0 comments on commit d02e2a9

Please sign in to comment.