diff --git a/Microsoft.Toolkit.Uwp.SampleApp/SamplePages/WeatherLiveTileAndToast/WeatherLiveTileAndToastCode.bind b/Microsoft.Toolkit.Uwp.SampleApp/SamplePages/WeatherLiveTileAndToast/WeatherLiveTileAndToastCode.bind index ea1d53fea9b..6482f647363 100644 --- a/Microsoft.Toolkit.Uwp.SampleApp/SamplePages/WeatherLiveTileAndToast/WeatherLiveTileAndToastCode.bind +++ b/Microsoft.Toolkit.Uwp.SampleApp/SamplePages/WeatherLiveTileAndToast/WeatherLiveTileAndToastCode.bind @@ -33,8 +33,8 @@ private void PopToast() { // We'll just add two simple lines of text builder - .AddText("Monday ? 63� / 42�") - .AddText("Tuesday ? 57� / 38�"); + .AddText("Monday ⛅ 63° / 42°") + .AddText("Tuesday ☁ 57° / 38°"); } // Set the base URI for the images, so we don't redundantly specify the entire path @@ -76,7 +76,7 @@ public static TileContent GenerateTileContent() builder.AddTile(Notifications.TileSize.Small) .SetTextStacking(TileTextStacking.Center, Notifications.TileSize.Small) .AddText("Mon", Notifications.TileSize.Small, hintStyle: AdaptiveTextStyle.Body, hintAlign: AdaptiveTextAlign.Center) - .AddText("63�", Notifications.TileSize.Small, hintStyle: AdaptiveTextStyle.Base, hintAlign: AdaptiveTextAlign.Center); + .AddText("63°", Notifications.TileSize.Small, hintStyle: AdaptiveTextStyle.Base, hintAlign: AdaptiveTextAlign.Center); // Medium Tile builder.AddTile(Notifications.TileSize.Medium) @@ -160,7 +160,7 @@ private static TileBindingContentAdaptive GenerateLargeTileContent() new AdaptiveText() { - Text = "63� / 42�" + Text = "63° / 42°" }, new AdaptiveText() @@ -221,14 +221,14 @@ private static AdaptiveSubgroup GenerateSubgroup(string day, string img, int tem // High temp new AdaptiveText() { - Text = tempHi + "�", + Text = tempHi + "°", HintAlign = AdaptiveTextAlign.Center }, // Low temp new AdaptiveText() { - Text = tempLo + "�", + Text = tempLo + "°", HintAlign = AdaptiveTextAlign.Center, HintStyle = AdaptiveTextStyle.CaptionSubtle } @@ -251,6 +251,6 @@ private static AdaptiveText GenerateLegacyToastText(string day, string weatherEm { return new AdaptiveText() { - Text = $"{day} {weatherEmoji} {tempHi}� / {tempLo}�" + Text = $"{day} {weatherEmoji} {tempHi}° / {tempLo}°" }; } \ No newline at end of file