File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
composeApp/src/desktopMain/kotlin/org/ooni/probe Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -82,6 +82,9 @@ fun main(args: Array<String>) {
82
82
dependencies = dependencies,
83
83
deepLink = deepLink,
84
84
onDeeplinkHandled = {
85
+ if (! isWindowVisible) {
86
+ isWindowVisible = true
87
+ }
85
88
deepLink?.let {
86
89
deepLinkFlow.tryEmit(null )
87
90
}
@@ -96,14 +99,19 @@ fun main(args: Array<String>) {
96
99
icon = painterResource(trayIcon),
97
100
tooltip = stringResource(Res .string.app_name),
98
101
menu = {
102
+ Item (
103
+ text = stringResource(Res .string.app_name),
104
+ enabled = false ,
105
+ onClick = {},
106
+ )
99
107
if (runBackgroundState !is RunBackgroundState .Idle ) {
100
108
Item (
101
109
text = runBackgroundState.text(),
102
110
enabled = false ,
103
111
onClick = {},
104
112
)
105
- Separator ()
106
113
}
114
+ Separator ()
107
115
Item (
108
116
stringResource(Res .string.Desktop_OpenApp ),
109
117
onClick = {
You can’t perform that action at this time.
0 commit comments