@@ -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