mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
add comment for system font loading
This commit is contained in:
parent
9eeb04ec13
commit
0f66baf64d
1 changed files with 2 additions and 1 deletions
|
|
@ -70,6 +70,7 @@ namespace Flow.Launcher.ViewModel
|
|||
|
||||
if (Result.Glyph is { FontFamily: not null } glyph)
|
||||
{
|
||||
// Checks if it's a system installed font, which does not require path to be provided.
|
||||
if (glyph.FontFamily.Contains('/'))
|
||||
{
|
||||
var fontPath = Result.Glyph.FontFamily;
|
||||
|
|
@ -155,4 +156,4 @@ namespace Flow.Launcher.ViewModel
|
|||
return Result.ToString();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue