Skip to content

Commit

Permalink
修复直播推荐页面的错误UI (#205)
Browse files Browse the repository at this point in the history
  • Loading branch information
Richasy authored Jan 5, 2024
1 parent 810c00d commit 41a9655
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 1 deletion.
45 changes: 45 additions & 0 deletions src/App/App.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,24 @@
<AppxPackageSigningEnabled>True</AppxPackageSigningEnabled>
<ApplicationIcon>Assets\logo.ico</ApplicationIcon>
</PropertyGroup>
<ItemGroup>
<Content Remove="Assets\ffmpeg\arm64\avcodec-59.dll" />
<Content Remove="Assets\ffmpeg\arm64\avdevice-59.dll" />
<Content Remove="Assets\ffmpeg\arm64\avfilter-8.dll" />
<Content Remove="Assets\ffmpeg\arm64\avformat-59.dll" />
<Content Remove="Assets\ffmpeg\arm64\avutil-57.dll" />
<Content Remove="Assets\ffmpeg\arm64\postproc-56.dll" />
<Content Remove="Assets\ffmpeg\arm64\swresample-4.dll" />
<Content Remove="Assets\ffmpeg\arm64\swscale-6.dll" />
<Content Remove="Assets\ffmpeg\x64\avcodec-59.dll" />
<Content Remove="Assets\ffmpeg\x64\avdevice-59.dll" />
<Content Remove="Assets\ffmpeg\x64\avfilter-8.dll" />
<Content Remove="Assets\ffmpeg\x64\avformat-59.dll" />
<Content Remove="Assets\ffmpeg\x64\avutil-57.dll" />
<Content Remove="Assets\ffmpeg\x64\postproc-56.dll" />
<Content Remove="Assets\ffmpeg\x64\swresample-4.dll" />
<Content Remove="Assets\ffmpeg\x64\swscale-6.dll" />
</ItemGroup>
<ItemGroup>
<None Remove="Assets\AppCenterSecret.txt" />
<None Remove="Assets\DashAudioWithoutVideoTemplate.xml" />
Expand Down Expand Up @@ -201,6 +219,33 @@
<Content Update="Assets\AppCenterSecret.txt">
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
</Content>
<None Update="Assets\ffmpeg\x64\avcodec-59.dll">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="Assets\ffmpeg\x64\avdevice-59.dll">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="Assets\ffmpeg\x64\avfilter-8.dll">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="Assets\ffmpeg\x64\avformat-59.dll">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="Assets\ffmpeg\x64\avutil-57.dll">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="Assets\ffmpeg\x64\postproc-56.dll">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="Assets\ffmpeg\x64\swresample-4.dll">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="Assets\ffmpeg\x64\swscale-6.dll">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="Assets\ffmpeg\arm64\swresample-4.dll">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<Page Update="Controls\Markdown\MarkdownTextBlock.xaml">
<Generator>MSBuild:Compile</Generator>
</Page>
Expand Down
6 changes: 5 additions & 1 deletion src/App/Controls/Modules/LiveRecommendDetailModule.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,13 @@
</Grid>
</ScrollViewer>

<controls:OverlayLoadingPanel IsBarActive="{x:Bind ViewModel.IsIncrementalLoading, Mode=OneWay}" IsRingActive="{x:Bind ViewModel.IsReloading, Mode=OneWay}" />
<controls:OverlayLoadingPanel
Grid.Row="1"
IsBarActive="{x:Bind ViewModel.IsIncrementalLoading, Mode=OneWay}"
IsRingActive="{x:Bind ViewModel.IsReloading, Mode=OneWay}" />
<controls:ErrorPanel
x:Name="ErrorPanel"
Grid.Row="1"
VerticalAlignment="Center"
ActionContent="{ext:Locale Name=Refresh}"
Command="{x:Bind ViewModel.ReloadCommand}"
Expand Down

0 comments on commit 41a9655

Please sign in to comment.