feat: 同步dev分支并保留当前修改
This commit is contained in:
@@ -249,10 +249,12 @@ export const MessageListScreen: React.FC = () => {
|
||||
}, [width]);
|
||||
|
||||
// 给底部列表预留安全空间,避免被 TabBar 遮挡导致最后几项无法完整滑出
|
||||
// TabBar 悬浮:高度 64 + 浮动间距 12*2 = 88
|
||||
const listBottomInset = useMemo(() => {
|
||||
if (isWideScreen) return spacing.lg;
|
||||
return tabBarHeight + insets.bottom + spacing.md;
|
||||
}, [isWideScreen, tabBarHeight, insets.bottom]);
|
||||
const FLOATING_TAB_BAR_HEIGHT = 64 + 24; // TabBar高度 + 上下浮动间距
|
||||
return FLOATING_TAB_BAR_HEIGHT + insets.bottom + spacing.md;
|
||||
}, [isWideScreen, insets.bottom]);
|
||||
|
||||
// 【新架构】页面获得焦点时初始化MessageManager
|
||||
useEffect(() => {
|
||||
|
||||
Reference in New Issue
Block a user