Optimizations

This commit is contained in:
Thorsten Sommer 2022-07-26 19:46:44 +02:00
parent e91d8fe2eb
commit b86e057122
Signed by: tsommer
GPG Key ID: 371BBA77A02C0108

View File

@ -28,11 +28,11 @@ public partial class Setting : UserControl
Func<string> SettingExplanation, Func<string> SettingExplanation,
Func<Control> SetupDataControl Func<Control> SetupDataControl
); );
public static async Task<Setting> ShowDeepLSettingAsync() private static async Task<Setting> ShowDeepLSettingAsync()
{ {
var currentSetting = await AppSettings.GetDeepLMode(); var currentSetting = await AppSettings.GetDeepLMode();
var settingData = new Setting.SettingUIData( var settingData = new SettingUIData(
Icon: Icons.deepl_logo_icon_170284, Icon: Icons.deepl_logo_icon_170284,
SettingName: () => "DeepL Service", 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.", 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.",