diff --git a/src/common/ZulipStatusBar.js b/src/common/ZulipStatusBar.js
index e5b3ac5..835cf87 100644
--- a/src/common/ZulipStatusBar.js
+++ b/src/common/ZulipStatusBar.js
@@ -50,19 +50,19 @@ export default function ZulipStatusBar(props: Props): Node {
const osScheme = useColorScheme();
const themeToUse = getThemeToUse(theme, osScheme);
+ // Get the current orientation from the global session state
const orientation = useGlobalSelector(state => getGlobalSession(state).orientation);
const backgroundColor = props.backgroundColor;
const statusBarColor = getStatusBarColor(backgroundColor, themeToUse);
+ // Render the StatusBar component with the appropriate props
return (
- orientation === 'PORTRAIT' && (
-
- )
+
);
}