mirror of
https://github.com/cyanfish/naps2.git
synced 2024-09-11 15:26:55 +03:00
Enable email on Linux
This commit is contained in:
parent
3cfda56d05
commit
072f092a98
@ -39,7 +39,7 @@ public class EmailSettingsForm : EtoDialogBase
|
||||
L.GroupBox(
|
||||
UiStrings.Provider,
|
||||
L.Row(
|
||||
_provider.AlignCenter(),
|
||||
_provider.Wrap(150).AlignCenter(),
|
||||
C.Filler(),
|
||||
C.Button(UiStrings.Change, ChangeProvider).AlignCenter().Padding(top: 4, bottom: 4)
|
||||
)
|
||||
@ -76,6 +76,9 @@ public class EmailSettingsForm : EtoDialogBase
|
||||
_provider.Text = SettingsResources.EmailProviderType_OutlookWeb + '\n' +
|
||||
config.Get(c => c.EmailSetup.OutlookWebUser);
|
||||
break;
|
||||
case EmailProviderType.Thunderbird:
|
||||
_provider.Text = SettingsResources.EmailProviderType_Thunderbird;
|
||||
break;
|
||||
case EmailProviderType.CustomSmtp:
|
||||
_provider.Text = config.Get(c => c.EmailSetup.SmtpHost) + '\n' + config.Get(c => c.EmailSetup.SmtpUser);
|
||||
break;
|
||||
|
@ -18,7 +18,7 @@ public class LinuxSystemCompat : ISystemCompat
|
||||
|
||||
public bool CanUseWin32 => false;
|
||||
|
||||
public bool CanEmail => false;
|
||||
public bool CanEmail => true;
|
||||
|
||||
public bool CanPrint => false;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user