Skip to content

Commit

Permalink
Don't cache images in reader
Browse files Browse the repository at this point in the history
  • Loading branch information
jerry08 committed Feb 17, 2024
1 parent 1e68bbe commit 30d63a8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Anikin/ViewModels/Manga/MangaReaderViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ protected override async Task LoadCore()
return;
}

//await DownloadPagesAsync(pages);
await DownloadPagesAsync(pages);

Entities.Push(pages);
OnPropertyChanged(nameof(Entities));
Expand Down
6 changes: 3 additions & 3 deletions Anikin/Views/Manga/MangaReaderPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@
<ff:CachedImage
Aspect="AspectFill"
HorizontalOptions="CenterAndExpand"
Source="{Binding Image}"
VerticalOptions="CenterAndExpand">

<ff:CachedImage.Source>
<!--<ff:CachedImage.Source>
<controls:BerryUriImageSource Headers="{Binding Headers}" Uri="{Binding Image}" />
</ff:CachedImage.Source>
</ff:CachedImage.Source>-->
<ff:CachedImage.GestureRecognizers>
<TapGestureRecognizer NumberOfTapsRequired="1" Tapped="OnTapped" />
</ff:CachedImage.GestureRecognizers>
Expand Down

0 comments on commit 30d63a8

Please sign in to comment.