Implemented Dark Mode (#203)

This commit is contained in:
Joseph Milazzo 2021-05-09 08:44:12 -05:00 committed by GitHub
parent 55b11e036e
commit 8b1fbc0096
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 791 additions and 1 deletions

View file

@ -67,6 +67,7 @@ namespace API.Controllers
existingPreferences.BookReaderDarkMode = preferencesDto.BookReaderDarkMode;
existingPreferences.BookReaderFontSize = preferencesDto.BookReaderFontSize;
existingPreferences.BookReaderTapToPaginate = preferencesDto.BookReaderTapToPaginate;
existingPreferences.SiteDarkMode = preferencesDto.SiteDarkMode;
_unitOfWork.UserRepository.Update(existingPreferences);