Background Prefetching for Kavita+ (#2707)
This commit is contained in:
parent
f616b99585
commit
5dc5029a75
35 changed files with 3300 additions and 100 deletions
|
@ -95,9 +95,18 @@ public class ServerSettingDto
|
|||
/// <returns></returns>
|
||||
public bool IsEmailSetup()
|
||||
{
|
||||
//return false;
|
||||
return !string.IsNullOrEmpty(SmtpConfig.Host)
|
||||
&& !string.IsNullOrEmpty(SmtpConfig.UserName)
|
||||
&& !string.IsNullOrEmpty(HostName);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Are at least some basics filled in, but not hostname as not required for Send to Device
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public bool IsEmailSetupForSendToDevice()
|
||||
{
|
||||
return !string.IsNullOrEmpty(SmtpConfig.Host)
|
||||
&& !string.IsNullOrEmpty(SmtpConfig.UserName);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue