summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.iOS/Renderers/FormattedStringExtensions.cs
diff options
context:
space:
mode:
authorSamantha Houts <samantha@teamredwall.com>2016-04-11 18:05:28 -0700
committerJason Smith <jason.smith@xamarin.com>2016-04-11 18:05:28 -0700
commit90d8976cfdadc1582e366c0b6f6611d6fe83f5ff (patch)
treee2ebd71214c4855ec5862d9c2c13f3a90051ae31 /Xamarin.Forms.Platform.iOS/Renderers/FormattedStringExtensions.cs
parentdf2427091536ed8065e50f7bffebbc5707971803 (diff)
downloadxamarin-forms-90d8976cfdadc1582e366c0b6f6611d6fe83f5ff.tar.gz
xamarin-forms-90d8976cfdadc1582e366c0b6f6611d6fe83f5ff.tar.bz2
xamarin-forms-90d8976cfdadc1582e366c0b6f6611d6fe83f5ff.zip
[iOS] Resolve Warning 0108 (#64)
[iOS] Resolve warning 0114 `Selected` is overridable, but current behavior is to hide it, so we're going to add the `new` keyword. [iOS] Resolve warning 0618 [iOS] Resolve warning 0414, 0649, 0169 [iOS] Resolve warning 0105 Update dispose to override base dispose (#67) Add an optional extended description…
Diffstat (limited to 'Xamarin.Forms.Platform.iOS/Renderers/FormattedStringExtensions.cs')
-rw-r--r--Xamarin.Forms.Platform.iOS/Renderers/FormattedStringExtensions.cs5
1 files changed, 2 insertions, 3 deletions
diff --git a/Xamarin.Forms.Platform.iOS/Renderers/FormattedStringExtensions.cs b/Xamarin.Forms.Platform.iOS/Renderers/FormattedStringExtensions.cs
index 89a09e86..4bb829b5 100644
--- a/Xamarin.Forms.Platform.iOS/Renderers/FormattedStringExtensions.cs
+++ b/Xamarin.Forms.Platform.iOS/Renderers/FormattedStringExtensions.cs
@@ -16,10 +16,9 @@ namespace Xamarin.Forms.Platform.iOS
if (span == null)
return null;
-#pragma warning disable 618
+#pragma warning disable 0618 //retaining legacy call to obsolete code
var font = span.Font != Font.Default ? span.Font : defaultFont;
-#pragma warning restore 618
-
+#pragma warning restore 0618
var fgcolor = span.ForegroundColor;
if (fgcolor.IsDefault)
fgcolor = defaultForegroundColor;