mirror of
https://github.com/Kareadita/Kavita.git
synced 2026-05-30 19:35:21 -04:00
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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user