Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 94a6ff3

Browse files
committedFeb 19, 2025
fix: use new URL opener
1 parent e39cd05 commit 94a6ff3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed
 

‎src/main/kotlin/com/coder/toolbox/util/Dialogs.kt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
package com.coder.toolbox.util
22

3+
import com.coder.toolbox.browser.BrowserUtil
34
import com.coder.toolbox.settings.CoderSettings
45
import com.coder.toolbox.settings.Source
56
import com.jetbrains.toolbox.api.ui.ToolboxUi
@@ -35,7 +36,9 @@ class DialogUi(
3536

3637
private fun openUrl(url: URL) {
3738
// TODO - check this later
38-
// ui.openUrl(url.toString())
39+
BrowserUtil.browse(url.toString()) {
40+
ui.showErrorInfoPopup(it)
41+
}
3942
}
4043

4144
/**

0 commit comments

Comments
 (0)
Failed to load comments.