You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Flow.Launcher.Plugin/Result.cs
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -266,8 +266,9 @@ public ValueTask<bool> ExecuteAsync(ActionContext context)
266
266
/// 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.
267
267
/// This can be useful when your plugin will change the Title or SubTitle of the result dynamically.
268
268
/// If the plugin does not specific this, FL just uses Title and SubTitle to identify this result.
269
+
/// Note: Because old data does not have this key, we should use null as the default value for consistency.
269
270
/// </summary>
270
-
publicstringRecordKey{get;set;}=string.Empty;
271
+
publicstringRecordKey{get;set;}=null;
271
272
272
273
/// <summary>
273
274
/// Info of the preview section of a <see cref="Result"/>
0 commit comments