From 46b9565b85778fd9ab382a6b5001d660de2c8902 Mon Sep 17 00:00:00 2001 From: Vic <10308169+VictoriousRaptor@users.noreply.github.com> Date: Tue, 15 Nov 2022 00:48:24 +0800 Subject: [PATCH] formatting --- .../Views/Models/ProgramSource.cs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Plugins/Flow.Launcher.Plugin.Program/Views/Models/ProgramSource.cs b/Plugins/Flow.Launcher.Plugin.Program/Views/Models/ProgramSource.cs index 945825f83..571dc0017 100644 --- a/Plugins/Flow.Launcher.Plugin.Program/Views/Models/ProgramSource.cs +++ b/Plugins/Flow.Launcher.Plugin.Program/Views/Models/ProgramSource.cs @@ -29,14 +29,16 @@ namespace Flow.Launcher.Plugin.Program.Views.Models } } - public string Name { get => name ; set => name = value ?? string.Empty; } + public string Name { get => name; set => name = value ?? string.Empty; } public bool Enabled { get; set; } = true; - public string UniqueIdentifier { get => uniqueIdentifier; + public string UniqueIdentifier + { + get => uniqueIdentifier; private set { uniqueIdentifier = value == null ? string.Empty : value.ToLowerInvariant(); - } + } } [JsonConstructor]