private async Task GoLeft() { if (Data.UseVerticalReader) { return; } if (Data.ReaderIndex > 0) { --Data.ReaderIndex; await ReaderImage.FadeOutPage(); ScrollViewer.ChangeView(null, 0, null, true); await ChangePage(); } }
private async Task GoRight() { if (Data.UseVerticalReader) { return; } if (Service.Settings.OpenNextArchive && Data.ReaderContent.Page + 1 >= Data.Pages) { await NextArchive(); return; } if (Data.ReaderIndex < Data.ArchiveImagesReader.Count() - 1) { ++Data.ReaderIndex; await ReaderImage.FadeOutPage(); ScrollViewer.ChangeView(null, 0, null, true); await ChangePage(); } }