mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Use null as default value for record key
This commit is contained in:
parent
1a54eed7ed
commit
b4bffb1cf5
1 changed files with 2 additions and 1 deletions
|
|
@ -266,8 +266,9 @@ namespace Flow.Launcher.Plugin
|
|||
/// The key to identify the record. This is used when FL checks whether the result is the topmost record. Or FL calculates the hashcode of the result for user selected records.
|
||||
/// This can be useful when your plugin will change the Title or SubTitle of the result dynamically.
|
||||
/// If the plugin does not specific this, FL just uses Title and SubTitle to identify this result.
|
||||
/// Note: Because old data does not have this key, we should use null as the default value for consistency.
|
||||
/// </summary>
|
||||
public string RecordKey { get; set; } = string.Empty;
|
||||
public string RecordKey { get; set; } = null;
|
||||
|
||||
/// <summary>
|
||||
/// Info of the preview section of a <see cref="Result"/>
|
||||
|
|
|
|||
Loading…
Reference in a new issue