Commit 048ab31
committed
fix: wait for plugin to fully initialize
And only then start validating the parameters. Otherwise, we can
end up in a situation where we ask TBX to show a snackbar while TBX is not
yet visible/initialized. In that case the UI page doesn't show the snackbar1 parent 4044e0d commit 048ab31
File tree
1 file changed
+7
-6
lines changed- src/main/kotlin/com/coder/toolbox/util
1 file changed
+7
-6
lines changedLines changed: 7 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
49 | | - | |
50 | 48 | | |
51 | 49 | | |
52 | 50 | | |
| 51 | + | |
53 | 52 | | |
54 | 53 | | |
55 | 54 | | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
56 | 61 | | |
57 | 62 | | |
58 | 63 | | |
| |||
66 | 71 | | |
67 | 72 | | |
68 | 73 | | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | 74 | | |
74 | 75 | | |
75 | 76 | | |
| |||
0 commit comments