summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Core/ListView.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Core/ListView.cs')
-rw-r--r--Xamarin.Forms.Core/ListView.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Xamarin.Forms.Core/ListView.cs b/Xamarin.Forms.Core/ListView.cs
index 0751e1c..8f234cf 100644
--- a/Xamarin.Forms.Core/ListView.cs
+++ b/Xamarin.Forms.Core/ListView.cs
@@ -71,7 +71,7 @@ namespace Xamarin.Forms
public ListView([Parameter("CachingStrategy")] ListViewCachingStrategy cachingStrategy) : this()
{
- if (Device.RuntimePlatform == Device.Android || Device.RuntimePlatform == Device.iOS)
+ if (Device.RuntimePlatform == Device.Android || Device.RuntimePlatform == Device.iOS || Device.RuntimePlatform == Device.macOS)
CachingStrategy = cachingStrategy;
}