mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Change DisabledProgramSource class to inherit ProgramSource
This commit is contained in:
parent
06c9ff49a0
commit
44c1c93e81
1 changed files with 1 additions and 9 deletions
|
|
@ -33,14 +33,6 @@ namespace Wox.Plugin.Program
|
|||
public string UniqueIdentifier { get; set; }
|
||||
}
|
||||
|
||||
public class DisabledProgramSource
|
||||
{
|
||||
private string name;
|
||||
|
||||
public string Location { get; set; }
|
||||
public string Name { get => name ?? new DirectoryInfo(Location).Name; set => name = value; }
|
||||
public bool Enabled { get; set; } = true;
|
||||
public string UniqueIdentifier { get; set; }
|
||||
}
|
||||
public class DisabledProgramSource : ProgramSource { }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue