diff --git a/packages/core/src/renderer/components/status-bar/__snapshots__/status-bar.test.tsx.snap b/packages/core/src/renderer/components/status-bar/__snapshots__/status-bar.test.tsx.snap
index 8931fed442..c244b6ccf0 100644
--- a/packages/core/src/renderer/components/status-bar/__snapshots__/status-bar.test.tsx.snap
+++ b/packages/core/src/renderer/components/status-bar/__snapshots__/status-bar.test.tsx.snap
@@ -838,7 +838,7 @@ exports[` when an extension is enabled specifying the side the elem
when an extension is enabled with an invalid data type, (
when an extension is enabled with an invalid data type, (
when an extension is enabled with an invalid data type, (
when an extension is enabled with an invalid data type, (
when an extension is enabled with an invalid data type, (
when an extension is enabled with an invalid data type, (
when an extension is enabled with an invalid data type, (
when an extension is enabled with no status items renders
", () => {
});
it("has the default status by default", () => {
- expect([...result.getByTestId("status-bar").classList]).toContain("status-default");
+ expect([...result.getByTestId("status-bar").classList]).toEqual(["StatusBar"]);
});
describe.each([
diff --git a/packages/core/src/renderer/components/status-bar/status-bar.tsx b/packages/core/src/renderer/components/status-bar/status-bar.tsx
index f926c83d2e..4ccd445245 100644
--- a/packages/core/src/renderer/components/status-bar/status-bar.tsx
+++ b/packages/core/src/renderer/components/status-bar/status-bar.tsx
@@ -27,9 +27,13 @@ const NonInjectedStatusBar = observer(({
status,
}: Dependencies & StatusBarProps) => {
const { left, right } = items.get();
+ const barStatus = status.get();
+ const barStyle = barStatus === "default"
+ ? undefined
+ : styles[`status-${barStatus}`];
return (
-
+
{left.map((Item, index) => (