Skip to content

Commit

Permalink
Merge pull request #855 from Microsoft/HotFixes_version1.2
Browse files Browse the repository at this point in the history
Hot fixes version1.2
  • Loading branch information
ralarcon authored Jul 21, 2017
2 parents d0c3796 + bfc529f commit 5278ef4
Show file tree
Hide file tree
Showing 7 changed files with 54 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ internal class ActivationService
private async Task StartupAsync()
{
//{[{
await FirstRunDisplayService.ShowIfAppropriate();
await FirstRunDisplayService.ShowIfAppropriateAsync();
//}]}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace Param_ItemNamespace.Services
{
public class FirstRunDisplayService
{
internal static async Task ShowIfAppropriate()
internal static async Task ShowIfAppropriateAsync()
{
bool hasShownFirstRun = false;
hasShownFirstRun = await Windows.Storage.ApplicationData.Current.LocalSettings.ReadAsync<bool>(nameof(hasShownFirstRun));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public void SampleUpdate()
UpdateTile(notification);
}

public async Task SamplePinSecondary(string pageName)
public async Task SamplePinSecondaryAsync(string pageName)
{
// TODO WTS: Call this method to Pin a Secondary Tile from a page.
// You also must implement the navigation to this specific page in the OnLaunched event handler on App.xaml.cs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ internal class ActivationService
private async Task StartupAsync()
{
//{[{
await WhatsNewDisplayService.ShowIfAppropriate();
await WhatsNewDisplayService.ShowIfAppropriateAsync();
//}]}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace Param_ItemNamespace.Services
// For instructions on testing this service see https://github.com/Microsoft/WindowsTemplateStudio/tree/master/docs/features/whats-new-prompt.md
public class WhatsNewDisplayService
{
internal static async Task ShowIfAppropriate()
internal static async Task ShowIfAppropriateAsync()
{
var currentVersion = PackageVersionToReadableString(Package.Current.Id.Version);

Expand Down
26 changes: 24 additions & 2 deletions templates/Pages/Chart.CodeBehind/Views/ChartViewPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,32 @@
<Grid Grid.Row="1" Background="{ThemeResource SystemControlPageBackgroundChromeLowBrush}">
<tc:RadCartesianChart>
<tc:RadCartesianChart.HorizontalAxis>
<tc:CategoricalAxis />
<tc:CategoricalAxis Foreground="{ThemeResource SystemControlForegroundBaseHighBrush}">
<tc:CategoricalAxis.LineStyle>
<Style TargetType="Line">
<Setter Property="Stroke" Value="{ThemeResource SystemControlBackgroundBaseMediumBrush}"/>
</Style>
</tc:CategoricalAxis.LineStyle>
<tc:CategoricalAxis.MajorTickStyle>
<Style TargetType="Rectangle">
<Setter Property="Fill" Value="{ThemeResource SystemControlBackgroundBaseMediumBrush}"/>
</Style>
</tc:CategoricalAxis.MajorTickStyle>
</tc:CategoricalAxis>
</tc:RadCartesianChart.HorizontalAxis>
<tc:RadCartesianChart.VerticalAxis>
<tc:LinearAxis />
<tc:LinearAxis Foreground="{ThemeResource SystemControlForegroundBaseHighBrush}" >
<tc:LinearAxis.LineStyle>
<Style TargetType="Line">
<Setter Property="Stroke" Value="{ThemeResource SystemControlBackgroundBaseMediumBrush}"/>
</Style>
</tc:LinearAxis.LineStyle>
<tc:LinearAxis.MajorTickStyle>
<Style TargetType="Rectangle">
<Setter Property="Fill" Value="{ThemeResource SystemControlBackgroundBaseMediumBrush}"/>
</Style>
</tc:LinearAxis.MajorTickStyle>
</tc:LinearAxis>
</tc:RadCartesianChart.VerticalAxis>
<tc:BarSeries ItemsSource="{x:Bind Source}" ShowLabels="True">
<tc:BarSeries.CategoryBinding>
Expand Down
26 changes: 24 additions & 2 deletions templates/Pages/Chart/Views/ChartViewPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,32 @@
<Grid Grid.Row="1" Background="{ThemeResource SystemControlPageBackgroundChromeLowBrush}">
<tc:RadCartesianChart>
<tc:RadCartesianChart.HorizontalAxis>
<tc:CategoricalAxis />
<tc:CategoricalAxis Foreground="{ThemeResource SystemControlForegroundBaseHighBrush}">
<tc:CategoricalAxis.LineStyle>
<Style TargetType="Line">
<Setter Property="Stroke" Value="{ThemeResource SystemControlBackgroundBaseMediumBrush}"/>
</Style>
</tc:CategoricalAxis.LineStyle>
<tc:CategoricalAxis.MajorTickStyle>
<Style TargetType="Rectangle">
<Setter Property="Fill" Value="{ThemeResource SystemControlBackgroundBaseMediumBrush}"/>
</Style>
</tc:CategoricalAxis.MajorTickStyle>
</tc:CategoricalAxis>
</tc:RadCartesianChart.HorizontalAxis>
<tc:RadCartesianChart.VerticalAxis>
<tc:LinearAxis />
<tc:LinearAxis Foreground="{ThemeResource SystemControlForegroundBaseHighBrush}" >
<tc:LinearAxis.LineStyle>
<Style TargetType="Line">
<Setter Property="Stroke" Value="{ThemeResource SystemControlBackgroundBaseMediumBrush}"/>
</Style>
</tc:LinearAxis.LineStyle>
<tc:LinearAxis.MajorTickStyle>
<Style TargetType="Rectangle">
<Setter Property="Fill" Value="{ThemeResource SystemControlBackgroundBaseMediumBrush}"/>
</Style>
</tc:LinearAxis.MajorTickStyle>
</tc:LinearAxis>
</tc:RadCartesianChart.VerticalAxis>
<tc:BarSeries ItemsSource="{x:Bind ViewModel.Source}" ShowLabels="True">
<tc:BarSeries.CategoryBinding>
Expand Down

0 comments on commit 5278ef4

Please sign in to comment.