Optimizations
This commit is contained in:
parent
e91d8fe2eb
commit
b86e057122
@ -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.",
|
||||||
|
Loading…
Reference in New Issue
Block a user