tray: cleanup code (#7011)

This commit is contained in:
Marcelo Castagna 2020-01-24 21:39:08 -03:00 committed by garfield69
parent b0e5c2e7a9
commit cd239498c0
1 changed files with 1 additions and 8 deletions

View File

@ -145,14 +145,7 @@ namespace Jackett.Tray
{
get
{
if (File.Exists(ShortcutPath) || File.Exists(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.Startup), "Jackett.lnk")))
{
return true;
}
else
{
return false;
}
return File.Exists(ShortcutPath) || File.Exists(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.Startup), "Jackett.lnk"));
}
set
{