Compare commits

...

4 Commits

Author SHA1 Message Date
Gordon Lam (SH)
f7f7ccb894 Fixed comment 2025-06-13 17:33:30 +08:00
Gordon Lam (SH)
cea6244fde Add the spellcheck list 2025-06-13 15:39:36 +08:00
Gordon Lam (SH)
4ebb2bf16d Fix the Fuzz test build issue 2025-06-13 15:26:52 +08:00
Gordon Lam (SH)
0d1fc68d5a Fix Build Warning 2025-06-13 12:01:56 +08:00
4 changed files with 6 additions and 0 deletions

View File

@@ -1656,6 +1656,7 @@ TDefault
TDevice
telephon
templatenamespace
TESTONLY
testprocess
TEXCOORD
TEXTBOXNEWLINE

View File

@@ -6,6 +6,7 @@
<PropertyGroup>
<LangVersion>latest</LangVersion>
<ImplicitUsings>enable</ImplicitUsings>
<DefineConstants>TESTONLY</DefineConstants>
</PropertyGroup>
<PropertyGroup>

View File

@@ -611,6 +611,7 @@
<ContentDialog
x:Name="EntryDialog"
x:Uid="EntryDialog"
x:DataType="models:Entry"
IsPrimaryButtonEnabled="{Binding Valid, Mode=OneWay}"
Loaded="ContentDialog_Loaded_ApplyMargin"
PrimaryButtonStyle="{StaticResource AccentButtonStyle}">

View File

@@ -11,6 +11,9 @@ using HostsUILib.Helpers;
namespace HostsUILib.Models
{
#if !TESTONLY
[Microsoft.UI.Xaml.Data.Bindable]
#endif
public partial class Entry : ObservableObject
{
private static readonly char[] _spaceCharacters = new char[] { ' ', '\t' };