From b86e05712237c5616c7cf1d60626eb43325310e5 Mon Sep 17 00:00:00 2001 From: Thorsten Sommer Date: Tue, 26 Jul 2022 19:46:44 +0200 Subject: [PATCH] Optimizations --- I18N Commander/UI WinForms/Components/Setting.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/I18N Commander/UI WinForms/Components/Setting.cs b/I18N Commander/UI WinForms/Components/Setting.cs index 1d57e21..aa6e3ab 100644 --- a/I18N Commander/UI WinForms/Components/Setting.cs +++ b/I18N Commander/UI WinForms/Components/Setting.cs @@ -28,11 +28,11 @@ public partial class Setting : UserControl Func SettingExplanation, Func SetupDataControl ); - - public static async Task ShowDeepLSettingAsync() + + private static async Task ShowDeepLSettingAsync() { var currentSetting = await AppSettings.GetDeepLMode(); - var settingData = new Setting.SettingUIData( + var settingData = new SettingUIData( Icon: Icons.deepl_logo_icon_170284, SettingName: () => "DeepL Service", SettingExplanation: () => "DeepL is a translation service that offers a wide range of translation services. This setting allows you to choose between the free and pro version of DeepL.",