26 lines
680 B
C#
26 lines
680 B
C#
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 = "CalibreUrl";
|
|
public const string CalibreUsername = "CalibreUsername";
|
|
public const string DefaultFontSize = "DefaultFontSize";
|
|
public const string DefaultFontFamily = "DefaultFontFamily";
|
|
public const string Theme = "Theme";
|
|
public const string Brightness = "Brightness";
|
|
}
|
|
|
|
public static class SecureStorageKeys
|
|
{
|
|
public const string CalibrePassword = "calibre_password_secure";
|
|
} |