From 0f66baf64dd7a5466aa66cc099387d30678b2137 Mon Sep 17 00:00:00 2001 From: Jeremy Wu Date: Mon, 9 Aug 2021 20:06:18 +1000 Subject: [PATCH] add comment for system font loading --- Flow.Launcher/ViewModel/ResultViewModel.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Flow.Launcher/ViewModel/ResultViewModel.cs b/Flow.Launcher/ViewModel/ResultViewModel.cs index 3eba63b22..a73e3847d 100644 --- a/Flow.Launcher/ViewModel/ResultViewModel.cs +++ b/Flow.Launcher/ViewModel/ResultViewModel.cs @@ -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(); } } -} \ No newline at end of file +}