Add "TestMode" flag to display warnings in test environments

Introduced a new "TestMode" setting in AppSettings to toggle test mode. Updated multiple pages to display a warning message when "TestMode" is enabled. This ensures users are informed when changes may not be persistent.
This commit is contained in:
Andre Beging
2025-03-31 09:06:36 +02:00
parent 5eb8b4b377
commit 37c891aef0
6 changed files with 24 additions and 3 deletions

View File

@@ -3,9 +3,11 @@
public class AppSettings
{
#region Public Properties
public TermSettings Terms { get; set; } = new();
public bool TestMode { get; set; }
#endregion
}
}