Skip to content

Commit c790d68

Browse files
committed
Calculator: Show result as hex in query subtitle
1 parent bb336c6 commit c790d68

File tree

1 file changed

+2
-2
lines changed
  • Plugins/Flow.Launcher.Plugin.Calculator

1 file changed

+2
-2
lines changed

Plugins/Flow.Launcher.Plugin.Calculator/Main.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
using System.Runtime.InteropServices;
55
using System.Text.RegularExpressions;
66
using System.Windows.Controls;
7-
using Mages.Core;
87
using Flow.Launcher.Plugin.Calculator.ViewModels;
98
using Flow.Launcher.Plugin.Calculator.Views;
9+
using Mages.Core;
1010

1111
namespace Flow.Launcher.Plugin.Calculator
1212
{
@@ -90,7 +90,7 @@ public List<Result> Query(Query query)
9090
Title = newResult,
9191
IcoPath = "Images/calculator.png",
9292
Score = 300,
93-
SubTitle = Context.API.GetTranslation("flowlauncher_plugin_calculator_copy_number_to_clipboard"),
93+
SubTitle = "0x" + ((int)roundedResult).ToString("X"),
9494
CopyText = newResult,
9595
Action = c =>
9696
{

0 commit comments

Comments
 (0)