Skip to content

Commit fa5d0c3

Browse files
committed
fix bugs
1 parent e2b0e9c commit fa5d0c3

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

MauiApp1/Models/DictWrapper.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public Match(Match og)
1919
{
2020
Trigger = og.Trigger;
2121
Replace = og.Replace;
22-
Vars = og.Vars;
22+
Vars = new (og.Vars);
2323
//Word = og.Word;
2424
}
2525
public string Trigger { get; set; }
@@ -34,7 +34,7 @@ public Var(Var og)
3434
{
3535
Name = og.Name;
3636
Type = og.Type;
37-
Params = og.Params;
37+
Params = new(og.Params);
3838
}
3939
public string Name { get; set; }
4040
public string Type { get; set; } // echo, random, clipboard and date only supported

MauiApp1/TextComparePro.csproj

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,15 @@
3030
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'tizen'">6.5</SupportedOSPlatformVersion>
3131
</PropertyGroup>
3232

33+
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net8.0-android|AnyCPU'">
34+
<AndroidPackageFormat>apk</AndroidPackageFormat>
35+
<AndroidCreatePackagePerAbi>True</AndroidCreatePackagePerAbi>
36+
</PropertyGroup>
37+
38+
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net8.0-android|AnyCPU'">
39+
<AndroidCreatePackagePerAbi>True</AndroidCreatePackagePerAbi>
40+
</PropertyGroup>
41+
3342
<ItemGroup>
3443
<!-- App Icon -->
3544
<MauiIcon Include="Resources\AppIcon\appicon.svg" BaseSize="512,512" />
@@ -58,7 +67,7 @@
5867
<PackageReference Include="MudBlazor" Version="6.11.0" />
5968
<PackageReference Include="YamlDotNet" Version="13.7.1" />
6069
<PackageReference Include="Microsoft.Maui.Controls" Version="8.0.3" />
61-
<PackageReference Include="Microsoft.AspNetCore.Components.WebView.Maui" Version="8.0.3"/>
70+
<PackageReference Include="Microsoft.AspNetCore.Components.WebView.Maui" Version="8.0.3" />
6271
</ItemGroup>
6372

6473
<ItemGroup>

0 commit comments

Comments
 (0)