From aace7998fb758eb969e6f055a7afb4afd395214d Mon Sep 17 00:00:00 2001 From: Brad Umbaugh Date: Mon, 13 Aug 2018 15:17:41 -0600 Subject: [PATCH] Removed #if --- ios12/SoupChef/SoupKit/Support/NSUserActivityHelper.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/ios12/SoupChef/SoupKit/Support/NSUserActivityHelper.cs b/ios12/SoupChef/SoupKit/Support/NSUserActivityHelper.cs index 4a5e317b..3c81b33c 100644 --- a/ios12/SoupChef/SoupKit/Support/NSUserActivityHelper.cs +++ b/ios12/SoupChef/SoupKit/Support/NSUserActivityHelper.cs @@ -32,7 +32,6 @@ namespace SoupKit.Support EligibleForPrediction = true }; -#if __IOS__ var attributes = new CSSearchableItemAttributeSet(NSUserActivityHelper.SearchableItemContentType) { ThumbnailData = UIImage.FromBundle("tomato").AsPNG(), @@ -41,7 +40,6 @@ namespace SoupKit.Support ContentDescription = NSBundleHelper.SoupKitBundle.GetLocalizedString("VIEW_MENU_CONTENT_DESCRIPTION", "View menu content description") }; userActivity.ContentAttributeSet = attributes; -#endif var phrase = NSBundleHelper.SoupKitBundle.GetLocalizedString("ORDER_LUNCH_SUGGESTED_PHRASE", "Voice shortcut suggested phrase"); userActivity.SuggestedInvocationPhrase = phrase;