Skip to content

Commit f476998

Browse files
committed
Remove MessageBoxEx.Show
1 parent 9f11c87 commit f476998

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Flow.Launcher/Helper/HotKeyMapper.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ private static void SetWithChefKeys(string hotkeyStr)
5757
e.StackTrace));
5858
string errorMsg = string.Format(App.API.GetTranslation("registerHotkeyFailed"), hotkeyStr);
5959
string errorMsgTitle = App.API.GetTranslation("MessageBoxTitle");
60-
MessageBoxEx.Show(errorMsg, errorMsgTitle);
60+
App.API.ShowMsgBox(errorMsg, errorMsgTitle);
6161
}
6262
}
6363

@@ -108,7 +108,7 @@ internal static void RemoveHotkey(string hotkeyStr)
108108
e.StackTrace));
109109
string errorMsg = string.Format(App.API.GetTranslation("unregisterHotkeyFailed"), hotkeyStr);
110110
string errorMsgTitle = App.API.GetTranslation("MessageBoxTitle");
111-
MessageBoxEx.Show(errorMsg, errorMsgTitle);
111+
App.API.ShowMsgBox(errorMsg, errorMsgTitle);
112112
}
113113
}
114114

0 commit comments

Comments
 (0)