Tap to Paginate User Pref (#197)
* Fixed In Progress and removed comments * Tap to Paginate user setting is implemented. Fixes #193
This commit is contained in:
parent
9c43833989
commit
2be1630af3
8 changed files with 803 additions and 3 deletions
|
@ -88,6 +88,19 @@ namespace API.Controllers
|
|||
{
|
||||
return Ok(await _unitOfWork.VolumeRepository.GetChapterDtoAsync(chapterId));
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Returns the next logical volume from the series.
|
||||
/// </summary>
|
||||
/// <param name="seriesId"></param>
|
||||
/// <param name="volumeId"></param>
|
||||
/// <returns>chapter id for next manga</returns>
|
||||
[HttpGet("next-volume")]
|
||||
public async Task<ActionResult<int>> GetNextChapter(int seriesId, int volumeId)
|
||||
{
|
||||
|
||||
return Ok();
|
||||
}
|
||||
|
||||
|
||||
[HttpPost("update-rating")]
|
||||
|
|
|
@ -66,6 +66,7 @@ namespace API.Controllers
|
|||
existingPreferences.BookReaderFontFamily = preferencesDto.BookReaderFontFamily;
|
||||
existingPreferences.BookReaderDarkMode = preferencesDto.BookReaderDarkMode;
|
||||
existingPreferences.BookReaderFontSize = preferencesDto.BookReaderFontSize;
|
||||
existingPreferences.BookReaderTapToPaginate = preferencesDto.BookReaderTapToPaginate;
|
||||
|
||||
_unitOfWork.UserRepository.Update(existingPreferences);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue