mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-05-31 04:04:19 -04:00
* Code cleanup, refactored FileRepository into Unit of Work. * Added AutoCloseMenu and ReaderMode user perferences to match UI * Added extra information to ChapterInfo * Build changes * Updated the readme to have open collective information and thanks to sponsors * Fixed an issue with UnitOfWork refactor and how stats was bootsrapped. Replaced stats.kavitareader with a temp url to test out redirection bug.
21 lines
834 B
C#
21 lines
834 B
C#
using API.Entities.Enums;
|
|
|
|
namespace API.DTOs
|
|
{
|
|
public class UserPreferencesDto
|
|
{
|
|
public ReadingDirection ReadingDirection { get; set; }
|
|
public ScalingOption ScalingOption { get; set; }
|
|
public PageSplitOption PageSplitOption { get; set; }
|
|
public ReaderMode ReaderMode { get; set; }
|
|
public bool AutoCloseMenu { get; set; }
|
|
public bool BookReaderDarkMode { get; set; } = false;
|
|
public int BookReaderMargin { get; set; }
|
|
public int BookReaderLineSpacing { get; set; }
|
|
public int BookReaderFontSize { get; set; }
|
|
public string BookReaderFontFamily { get; set; }
|
|
public bool BookReaderTapToPaginate { get; set; }
|
|
public ReadingDirection BookReaderReadingDirection { get; set; }
|
|
public bool SiteDarkMode { get; set; }
|
|
}
|
|
} |