Skip to content

Commit 75acbab

Browse files
hassoncsChris Hasson
andauthored
fix(activitybar): remove when: isMac condition from viewsContainers (#2829)
Removed the `when: "isMac"` condition from the Kilo-Code activity bar container. This condition caused the icon to be hidden on Windows/Linux and likely triggered cache corruption that persisted across sessions. Per user report (waewoo, last week), the visibility issue was resolved after running “View: Reset View Locations”, confirming a user cache interaction — but the `isMac` condition remained a root cause of instability across platforms. Removing the platform gate ensures consistent icon visibility and prevents future persistence issues in the activity bar container. Fixes: #1453 Co-authored-by: Chris Hasson <[email protected]>
1 parent 634d9b8 commit 75acbab

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

.changeset/public-emus-flow.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"kilo-code": patch
3+
---
4+
5+
Potentially fix missing Kilo Code icon by removing 'when' condition from the extension's activitybar config

src/package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,7 @@
111111
"id": "kilo-code-ActivityBar",
112112
"title": "%views.activitybar.title%",
113113
"icon": "assets/icons/kilo.png",
114-
"darkIcon": "assets/icons/kilo-dark.png",
115-
"when": "isMac"
114+
"darkIcon": "assets/icons/kilo-dark.png"
116115
}
117116
]
118117
},
@@ -121,7 +120,9 @@
121120
{
122121
"type": "webview",
123122
"id": "kilo-code.SidebarProvider",
124-
"name": "%views.sidebar.name%"
123+
"name": "%views.sidebar.name%",
124+
"icon": "assets/icons/kilo.png",
125+
"darkIcon": "assets/icons/kilo-dark.png"
125126
}
126127
]
127128
},

0 commit comments

Comments
 (0)