Skip to content

Commit 0f66baf

Browse files
authored
add comment for system font loading
1 parent 9eeb04e commit 0f66baf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Flow.Launcher/ViewModel/ResultViewModel.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ public ResultViewModel(Result result, Settings settings)
7070

7171
if (Result.Glyph is { FontFamily: not null } glyph)
7272
{
73+
// Checks if it's a system installed font, which does not require path to be provided.
7374
if (glyph.FontFamily.Contains('/'))
7475
{
7576
var fontPath = Result.Glyph.FontFamily;
@@ -155,4 +156,4 @@ public override string ToString()
155156
return Result.ToString();
156157
}
157158
}
158-
}
159+
}

0 commit comments

Comments
 (0)