We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15208e5 commit 566ffddCopy full SHA for 566ffdd
Plugins/Flow.Launcher.Plugin.Calculator/Main.cs
@@ -85,12 +85,11 @@ public List<Result> Query(Query query)
85
86
return new List<Result>
87
{
88
- new Result
89
- {
+ new() {
90
Title = newResult,
91
IcoPath = "Images/calculator.png",
92
Score = 300,
93
- SubTitle = "0x" + ((int)roundedResult).ToString("X"),
+ SubTitle = (roundedResult > long.MaxValue || roundedResult < long.MinValue) ? string.Empty : "0x" + ((long)roundedResult).ToString("X"),
94
CopyText = newResult,
95
Action = c =>
96
0 commit comments