Skip to content

Commit

Permalink
minor bug
Browse files Browse the repository at this point in the history
  • Loading branch information
shubham1206agra committed Sep 8, 2023
1 parent ff47053 commit 1955e93
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/withWindowDimensions/index.native.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ function WindowDimensionsProvider(props) {
<SafeAreaInsetsContext.Consumer>
{(insets) => {
const isExtraSmallScreenWidth = windowDimension.windowWidth <= variables.extraSmallMobileResponsiveWidthBreakpoint;
const isSmallScreenWidth = !isExtraSmallScreenWidth;
const isSmallScreenWidth = true;
const isMediumScreenWidth = false;
const isLargeScreenWidth = false;
return (
Expand Down
2 changes: 1 addition & 1 deletion src/hooks/useWindowDimensions/index.native.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import variables from '../../styles/variables';
export default function () {
const {width: windowWidth, height: windowHeight} = useWindowDimensions();
const isExtraSmallScreenHeight = windowHeight <= variables.extraSmallMobileResponsiveHeightBreakpoint;
const isSmallScreenWidth = !isExtraSmallScreenHeight;
const isSmallScreenWidth = true;
const isMediumScreenWidth = false;
const isLargeScreenWidth = false;
return {
Expand Down

0 comments on commit 1955e93

Please sign in to comment.