This commit is contained in:
Anurag Shivarathri 2022-07-22 20:14:19 +05:30 committed by GitHub
parent c4c89a8f05
commit 59aeb3767c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -114,7 +114,7 @@ const MoreMessages = ({
const [remaining, setRemaining] = useState(0);
const underlayColor = useMemo(() => `hsl(${hexToHue(theme.buttonBg)}, 50%, 38%)`, [theme]);
const top = useSharedValue(0);
const shownTop = isTablet || isCRTEnabled ? 5 : SHOWN_TOP;
const shownTop = isTablet || (isCRTEnabled && rootId) ? 5 : SHOWN_TOP;
const BARS_FACTOR = Math.abs((1) / (HIDDEN_TOP - SHOWN_TOP));
const styles = getStyleSheet(theme);
const animatedStyle = useAnimatedStyle(() => ({