diff options
Diffstat (limited to 'Xamarin.PropertyEditing.Mac/Controls/Custom')
-rw-r--r-- | Xamarin.PropertyEditing.Mac/Controls/Custom/ResourceDataSource.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Xamarin.PropertyEditing.Mac/Controls/Custom/ResourceDataSource.cs b/Xamarin.PropertyEditing.Mac/Controls/Custom/ResourceDataSource.cs index 13c7e8e..5068c28 100644 --- a/Xamarin.PropertyEditing.Mac/Controls/Custom/ResourceDataSource.cs +++ b/Xamarin.PropertyEditing.Mac/Controls/Custom/ResourceDataSource.cs @@ -18,10 +18,10 @@ namespace Xamarin.PropertyEditing.Mac if (this.vm?.Resources == null) return 0; - if (this.vm.Resources?.Count () == 0) + if (this.vm.Resources?.Count == 0) return 0; - return this.vm.Resources.Count (); + return this.vm.Resources.Count; } public override NSObject GetChild (NSOutlineView outlineView, nint childIndex, NSObject item) |