Skip to content

Commit

Permalink
Fixed encodings
Browse files Browse the repository at this point in the history
  • Loading branch information
deltakosh committed Jul 15, 2016
1 parent 3c17c31 commit 7da4442
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
private async void PinTile()
private async void PinTile()
{
SecondaryTile tile = new SecondaryTile(DateTime.Now.Ticks.ToString())
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
HorizontalAlignment="Stretch"
Margin="20,20,20,0"/>

<RichTextBlock Margin="20,10,20,0">
<RichTextBlock Margin="20,10,20,0" Foreground="{StaticResource Brush-Grey-03}">
<Paragraph>Click the button to pin a secondary tile and send a notification to the tile, displaying rich visual content. The previews below show you what the tile will look like when you pin it.</Paragraph>
<Paragraph/>
<Paragraph FontSize="12">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
private void PopToast()
private void PopToast()
{
// Generate the toast notification content and pop the toast
ToastContent content = GenerateToastContent();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
Click="ButtonPopToast_Click"
HorizontalAlignment="Stretch"/>

<RichTextBlock Margin="0,10,0,0">
<RichTextBlock Margin="0,10,0,0" Foreground="{StaticResource Brush-Grey-03}">
<Paragraph>The button will pop a Toast notification reminder about your calendar appointment. A preview is seen below.</Paragraph>
<Paragraph/>
<Paragraph FontSize="12">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
private void PopToast()
private void PopToast()
{
// Generate the toast notification content and pop the toast
ToastContent content = GenerateToastContent();
Expand Down Expand Up @@ -64,12 +64,12 @@ public static ToastContent GenerateToastContent()
// We'll just add two simple lines of text
binding.Children.Add(new AdaptiveText()
{
Text = "Monday 63° / 42°"
Text = "Monday ? 63 / 42"
});

binding.Children.Add(new AdaptiveText()
{
Text = "Tuesday 57° / 38°"
Text = "Tuesday ? 57 / 38"
});
}

Expand Down Expand Up @@ -153,7 +153,7 @@ private static TileBinding GenerateTileBindingSmall()

new AdaptiveText()
{
Text = "63°",
Text = "63",
HintStyle = AdaptiveTextStyle.Base,
HintAlign = AdaptiveTextAlign.Center
}
Expand Down Expand Up @@ -240,7 +240,7 @@ private static TileBinding GenerateTileBindingLarge()

new AdaptiveText()
{
Text = "63° / 42°"
Text = "63 / 42"
},

new AdaptiveText()
Expand Down Expand Up @@ -302,14 +302,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
}
Expand All @@ -332,6 +332,6 @@ private static AdaptiveText GenerateLegacyToastText(string day, string weatherEm
{
return new AdaptiveText()
{
Text = $"{day} {weatherEmoji} {tempHi}° / {tempLo}°"
Text = $"{day} {weatherEmoji} {tempHi} / {tempLo}"
};
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
HorizontalAlignment="Stretch"
Margin="0,10,0,0"/>

<RichTextBlock Margin="0,10,0,0">
<RichTextBlock Margin="0,10,0,0" Foreground="{StaticResource Brush-Grey-03}">
<Paragraph>The first button will pop a Toast notification displaying the weather forecast.</Paragraph>
<Paragraph/>
<Paragraph>The second button will pin a secondary Tile and send a notification to the Tile, displaying the weather forecast.</Paragraph>
Expand Down

0 comments on commit 7da4442

Please sign in to comment.