Fix corrupted emojis and symbols
The emojis and symbols applied here were corrupted since the following patch.
```
Commit: 7da44428ac
Author: David Catuhe <david.catuhe@live.fr>
Date : Fri Jul 15 07:51:16 2016 -0700
Title : Fixed encodings
```
This commit is contained in:
Родитель
13bfbf21c7
Коммит
e606ae8b23
|
@ -33,8 +33,8 @@ private void PopToast()
|
|||
{
|
||||
// We'll just add two simple lines of text
|
||||
builder
|
||||
.AddText("Monday ? 63<36> / 42<34>")
|
||||
.AddText("Tuesday ? 57<35> / 38<33>");
|
||||
.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<EFBFBD>", 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<EFBFBD> / 42<34>"
|
||||
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 + "<EFBFBD>",
|
||||
Text = tempHi + "°",
|
||||
HintAlign = AdaptiveTextAlign.Center
|
||||
},
|
||||
|
||||
// Low temp
|
||||
new AdaptiveText()
|
||||
{
|
||||
Text = tempLo + "<EFBFBD>",
|
||||
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}<EFBFBD> / {tempLo}<7D>"
|
||||
Text = $"{day} {weatherEmoji} {tempHi}° / {tempLo}°"
|
||||
};
|
||||
}
|
Загрузка…
Ссылка в новой задаче