diff --git a/STranslate/STranslate.csproj b/STranslate/STranslate.csproj
index c6d4fb54..7d512fe9 100644
--- a/STranslate/STranslate.csproj
+++ b/STranslate/STranslate.csproj
@@ -10,8 +10,8 @@
app.manifest
x64
README.md
- 1.0.1.0111
- 1.0.1.0111
+ 1.0.2.0114
+ 1.0.2.0114
diff --git a/STranslate/ViewModels/InputViewModel.cs b/STranslate/ViewModels/InputViewModel.cs
index 298fd0b6..4a027064 100644
--- a/STranslate/ViewModels/InputViewModel.cs
+++ b/STranslate/ViewModels/InputViewModel.cs
@@ -181,9 +181,9 @@ await Parallel.ForEachAsync(
//TODO: 新接口需要适配
service.Data = service.Type switch
{
- ServiceType.ApiService => await ServiceHandler.ApiHandler(service, InputContent, sourceStr, targetStr, token),
- ServiceType.BaiduService => await ServiceHandler.BaiduHandler(service, InputContent, sourceStr, targetStr, token),
- ServiceType.BingService => await ServiceHandler.BingHandler(service, InputContent, sourceStr, targetStr, token),
+ ServiceType.ApiService => await ServiceHandler.ApiHandlerAsync(service, InputContent, sourceStr, targetStr, token),
+ ServiceType.BaiduService => await ServiceHandler.BaiduHandlerAsync(service, InputContent, sourceStr, targetStr, token),
+ ServiceType.BingService => await ServiceHandler.BingHandlerAsync(service, InputContent, sourceStr, targetStr, token),
_ => throw new NotImplementedException()
};
}
diff --git a/STranslate/ViewModels/ServiceHandler.cs b/STranslate/ViewModels/ServiceHandler.cs
index bed14c79..e3fad575 100644
--- a/STranslate/ViewModels/ServiceHandler.cs
+++ b/STranslate/ViewModels/ServiceHandler.cs
@@ -22,7 +22,7 @@ public class ServiceHandler
///
///
///
- public static async Task ApiHandler(ITranslator service, string content, string source, string target, CancellationToken token)
+ public static async Task ApiHandlerAsync(ITranslator service, string content, string source, string target, CancellationToken token)
{
var response =
(Task