Commit 739a78f 1 parent 89100a8 commit 739a78f Copy full SHA for 739a78f
File tree 1 file changed +7
-2
lines changed
src/main/kotlin/com/vk/admstorm
1 file changed +7
-2
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
@@ -41,8 +42,12 @@ class AdmStormStartupActivity : ProjectActivity {
41
42
}
42
43
43
44
// TODO: remove it after release AdmStorm on Windows
44
- if (SystemInfo .isWindows) {
45
- AdmErrorNotification (" AdmStorm is not available on Windows yet" ).show()
45
+ if (! SystemInfo .isWindows) {
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