Skip to content

Commit

Permalink
[sample] Fix year on sample app
Browse files Browse the repository at this point in the history
  • Loading branch information
rmarinho committed Jul 29, 2022
1 parent d39b3be commit 0e6492f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Controls/samples/Controls.Sample/Pages/MainPage.xaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<views:BasePage
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:sys="clr-namespace:System;assembly=netstandard"
x:Class="Maui.Controls.Sample.Pages.MainPage"
xmlns:views="clr-namespace:Maui.Controls.Sample.Pages.Base"
xmlns:local="clr-namespace:Maui.Controls.Sample"
Expand Down Expand Up @@ -127,7 +128,7 @@
<!-- FOOTER -->
<Label
Grid.Row="2"
Text="Microsoft Corporation © 2021"
Text="{Binding Path=Year, Source={x:Static sys:DateTime.Now}, StringFormat='Microsoft Corporation © {0}'}"
Style="{StaticResource FooterStyle}" />
</Grid>
</ScrollView>
Expand Down

0 comments on commit 0e6492f

Please sign in to comment.