Skip to content

Commit

Permalink
修复平台构建
Browse files Browse the repository at this point in the history
  • Loading branch information
lindexi committed May 17, 2024
1 parent a42558d commit 734c6a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
xmlns:models="using:UnoFileDownloader.Business.Models"
xmlns:converters="using:UnoFileDownloader.Presentation.Converters"
mc:Ignorable="d"
Background="{ThemeResource BackgroundBrush}" d:DataContext="{d:DesignInstance local:BindableMainModel}">
Background="{ThemeResource BackgroundBrush}">

<Page.Resources>
<Style x:Key="TitleBarButtonStyle" BasedOn="{StaticResource PrimaryButtonStyle}" TargetType="Button">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public MainPage()
DataContextChanged += MainPage_DataContextChanged;
}

public BindableMainModel ViewModel => (BindableMainModel) DataContext;
private BindableMainModel ViewModel => (BindableMainModel) DataContext;

private void MainPage_DataContextChanged(FrameworkElement sender, DataContextChangedEventArgs args)
{
Expand Down

0 comments on commit 734c6a8

Please sign in to comment.