27 lines
818 B
C#
27 lines
818 B
C#
using BookReader;
|
|
using SQLite;
|
|
|
|
namespace BookReader.Models;
|
|
|
|
public class AppSettings
|
|
{
|
|
[PrimaryKey]
|
|
public string Key { get; set; } = string.Empty;
|
|
|
|
public string Value { get; set; } = string.Empty;
|
|
}
|
|
|
|
public static class SettingsKeys
|
|
{
|
|
public const string CalibreUrl = Constants.StorageKeys.CalibreUrl;
|
|
public const string CalibreUsername = Constants.StorageKeys.CalibreUsername;
|
|
public const string DefaultFontSize = Constants.StorageKeys.DefaultFontSize;
|
|
public const string DefaultFontFamily = Constants.StorageKeys.DefaultFontFamily;
|
|
public const string Theme = Constants.StorageKeys.Theme;
|
|
public const string Brightness = Constants.StorageKeys.Brightness;
|
|
}
|
|
|
|
public static class SecureStorageKeys
|
|
{
|
|
public const string CalibrePassword = "calibre_password_secure";
|
|
} |