< Summary

Information
Class: LifeChart.Application.Settings.AppSettings
Assembly: LifeChart.Application
File(s): /home/runner/work/lifechart/lifechart/src/LifeChart.Application/Settings/AppSettings.cs
Tag: 113_29159449707
Line coverage
0%
Covered lines: 0
Uncovered lines: 16
Coverable lines: 16
Total lines: 32
Line coverage: 0%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

File(s)

/home/runner/work/lifechart/lifechart/src/LifeChart.Application/Settings/AppSettings.cs

#LineLine coverage
 1namespace LifeChart.Application.Settings;
 2
 3public enum CloudProvider { None, GoogleDrive, Nextcloud, LocalExport }
 4public enum InputMode { Quick, Full, AlwaysAsk }
 5public enum AppLanguage { System, German, English }
 6
 7public class AppSettings
 8{
 9    // Backup
 010    public CloudProvider BackupProvider { get; set; } = CloudProvider.None;
 011    public string? NextcloudUrl { get; set; }
 012    public string? NextcloudUsername { get; set; }
 013    public string? NextcloudPassword { get; set; }
 014    public string? GoogleDriveAccessToken { get; set; }
 015    public string? GoogleDriveRefreshToken { get; set; }
 016    public bool AutoBackupEnabled { get; set; } = true;
 017    public int BackupWarningThresholdDays { get; set; } = 7;
 018    public DateTime? LastBackupAt { get; set; }
 19
 20    // Benachrichtigungen
 021    public bool EveningReminderEnabled { get; set; } = true;
 022    public TimeOnly? EveningReminderTime { get; set; } = null;
 023    public bool CrisisHintEnabled { get; set; } = true;
 24
 25    // UX
 026    public InputMode InputMode { get; set; } = InputMode.Quick;
 027    public bool ColorBlindModeEnabled { get; set; } = true;
 28
 29    // App
 030    public bool BiometricsEnabled { get; set; } = false;
 031    public AppLanguage Language { get; set; } = AppLanguage.System;
 32}