Skip to content
This repository has been archived by the owner on Dec 20, 2023. It is now read-only.

Commit

Permalink
修复用户视图滚动时条目丢失的问题 (#1004)
Browse files Browse the repository at this point in the history
  • Loading branch information
Richasy authored Apr 4, 2022
1 parent cbaeaba commit bc94068
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/App/Controls/User/UserView.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,7 @@
ItemOrientation="Horizontal"
ItemTemplate="{StaticResource VideoCardTemplate}"
ItemsSource="{x:Bind ViewModel.VideoCollection, Mode=OneWay}"
RequestLoadMore="OnVideoViewRequestLoadMoreAsync"
Visibility="{x:Bind ViewModel.IsInitializeLoading, Mode=OneWay, Converter={StaticResource BoolToVisibilityReverseConverter}}">
RequestLoadMore="OnVideoViewRequestLoadMoreAsync">
<local:VerticalRepeaterView.AdditionalContent>
<Button
x:Name="SearchButton"
Expand Down Expand Up @@ -240,8 +239,7 @@
ItemOrientation="Horizontal"
ItemTemplate="{StaticResource VideoCardTemplate}"
ItemsSource="{x:Bind ViewModel.SearchCollection, Mode=OneWay}"
RequestLoadMore="OnSearchViewRequestLoadMoreAsync"
Visibility="{x:Bind ViewModel.IsInitializeLoading, Mode=OneWay, Converter={StaticResource BoolToVisibilityReverseConverter}}" />
RequestLoadMore="OnSearchViewRequestLoadMoreAsync" />
</ScrollViewer>
</Grid>

Expand Down

0 comments on commit bc94068

Please sign in to comment.