Commit 76e2193 1 parent 89100a8 commit 76e2193 Copy full SHA for 76e2193
File tree 1 file changed +6
-1
lines changed
src/main/kotlin/com/vk/admstorm
1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ import com.intellij.openapi.util.registry.Registry
12
12
import com.vk.admstorm.diagnostic.AdmStormLoggerFactory
13
13
import com.vk.admstorm.highlight.CppTypeHighlightPatcher
14
14
import com.vk.admstorm.notifications.AdmErrorNotification
15
+ import com.vk.admstorm.notifications.AdmNotification
15
16
import com.vk.admstorm.services.SentryService
16
17
import com.vk.admstorm.settings.AdmStormSettingsState
17
18
import com.vk.admstorm.ssh.SshConnectionService
@@ -42,7 +43,11 @@ class AdmStormStartupActivity : ProjectActivity {
42
43
43
44
// TODO: remove it after release AdmStorm on Windows
44
45
if (SystemInfo .isWindows) {
45
- AdmErrorNotification (" AdmStorm is not available on Windows yet" ).show()
46
+ AdmErrorNotification (" AdmStorm is not available on Windows yet" ).withActions(
47
+ AdmNotification .Action (" Close this notification" ) { _, notification ->
48
+ notification.expire()
49
+ }
50
+ ).show()
46
51
}
47
52
48
53
ChangeSshBackendStartup .changeConfigurationProcess(project)
You can’t perform that action at this time.
0 commit comments