Skip to content

Commit 734c6a8

Browse files
committed
修复平台构建
1 parent a42558d commit 734c6a8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/UnoFileDownloader/UnoFileDownloader/Presentation/MainPage.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
xmlns:models="using:UnoFileDownloader.Business.Models"
1212
xmlns:converters="using:UnoFileDownloader.Presentation.Converters"
1313
mc:Ignorable="d"
14-
Background="{ThemeResource BackgroundBrush}" d:DataContext="{d:DesignInstance local:BindableMainModel}">
14+
Background="{ThemeResource BackgroundBrush}">
1515

1616
<Page.Resources>
1717
<Style x:Key="TitleBarButtonStyle" BasedOn="{StaticResource PrimaryButtonStyle}" TargetType="Button">

src/UnoFileDownloader/UnoFileDownloader/Presentation/MainPage.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public MainPage()
1313
DataContextChanged += MainPage_DataContextChanged;
1414
}
1515

16-
public BindableMainModel ViewModel => (BindableMainModel) DataContext;
16+
private BindableMainModel ViewModel => (BindableMainModel) DataContext;
1717

1818
private void MainPage_DataContextChanged(FrameworkElement sender, DataContextChangedEventArgs args)
1919
{

0 commit comments

Comments
 (0)