Optimizations
This commit is contained in:
1 file changed
+2
-2
@@ -29,10 +29,10 @@ public partial class Setting : UserControl
|
|||||||
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.",
|
||||||
|
|||||||
Reference in new issue
Block a user