Skip to content

Commit ffcec88

Browse files
committed
Fix typos
1 parent d3c1092 commit ffcec88

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed
49 KB
Binary file not shown.
3.14 MB
Binary file not shown.

src/c#/GeneralUpdate.PacketTool/Models/VersionTmplateModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/// <summary>
44
/// Update the package version template information.
55
/// </summary>
6-
public class VersionTmplateModel
6+
public class VersionTemplateModel
77
{
88
/// <summary>
99
/// Update package release time.

src/c#/GeneralUpdate.PacketTool/ViewModels/MainViewModel.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public MainViewModel(IFolderPickerService folderPickerService)
3939
IsPublish = false;
4040
CurrentEncoding = Encodings.First();
4141
CurrentFormat = Formats.First();
42-
CurrnetAppType = AppTypes.First();
42+
CurrentAppType = AppTypes.First();
4343
}
4444

4545
#endregion Constructors
@@ -134,7 +134,7 @@ public string CurrentEncoding
134134
set => SetProperty(ref _currentEncoding, value);
135135
}
136136

137-
public string CurrnetAppType
137+
public string CurrentAppType
138138
{
139139
get => _currnetAppType;
140140
set => SetProperty(ref _currnetAppType, value);
@@ -206,7 +206,7 @@ await DifferentialCore.Instance.Clean(SourcePath, TargetPath, PatchPath, (sender
206206
return;
207207
}
208208
var md5 = FileUtil.GetFileMD5(packetPath);
209-
await _mainService.PostUpgradePacket<UploadReapDTO>(Url, packetPath, String2AppType(CurrnetAppType), CurrentVersion, CurrentClientAppKey, md5, async (resp) =>
209+
await _mainService.PostUpgradePacket<UploadReapDTO>(Url, packetPath, String2AppType(CurrentAppType), CurrentVersion, CurrentClientAppKey, md5, async (resp) =>
210210
{
211211
if (resp == null)
212212
{
@@ -250,11 +250,11 @@ private async Task BuildJsonCallback()
250250
}
251251
string path = Path.Combine(pickerResult, _jsonTemplateFileName);
252252
if (File.Exists(path)) await Shell.Current.DisplayAlert("Build options", "File already exists !", "check");
253-
var jsonObj = new List<VersionTmplateModel>
253+
var jsonObj = new List<VersionTemplateModel>
254254
{
255-
new VersionTmplateModel(),
256-
new VersionTmplateModel(),
257-
new VersionTmplateModel()
255+
new VersionTemplateModel(),
256+
new VersionTemplateModel(),
257+
new VersionTemplateModel()
258258
};
259259
await BuildVersionTemplate(path, jsonObj);
260260
}

0 commit comments

Comments
 (0)