mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
fix Glyph optional null when copying
This commit is contained in:
parent
024eeaf6bf
commit
101e5e6ff1
1 changed files with 3 additions and 1 deletions
|
|
@ -88,7 +88,9 @@ public class LastOpenedHistoryResult : Result
|
|||
},
|
||||
//Used for Last Opened History style reopening, currently need to be assigned at MainViewModel.cs
|
||||
AsyncAction = null,
|
||||
Glyph = new GlyphInfo(this.Glyph.FontFamily, this.Glyph.Glyph),
|
||||
Glyph = glyphValue != null
|
||||
? new GlyphInfo(this.Glyph.FontFamily, this.Glyph.Glyph)
|
||||
: null,
|
||||
ExecutedDateTime = this.ExecutedDateTime
|
||||
// Note: Other properties are left as default — copy if needed.
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue