Skip to content

Commit

Permalink
fix: fix cr
Browse files Browse the repository at this point in the history
  • Loading branch information
anlyyao committed Apr 24, 2024
1 parent 1b081b2 commit c86536d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mixins/using-custom-navbar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const useCustomNavbarBehavior = Behavior({
const distance = menuButton.top + menuButton.bottom - statusBarHeight;

this.setData({
distanceTop: Math.max(distance, this.properties.customNavbarHeight),
distanceTop: Math.max(distance, this.properties.customNavbarHeight + statusBarHeight),
});
},
},
Expand Down

0 comments on commit c86536d

Please sign in to comment.