Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import {View} from 'react-native';
// eslint-disable-next-line no-restricted-imports
import type {NativeScrollEvent, NativeSyntheticEvent, ScrollView as RNScrollView} from 'react-native';
import type {TupleToUnion} from 'type-fest';
import Button from '@components/Button';
import ButtonWithDropdownMenu from '@components/ButtonWithDropdownMenu';
import Checkbox from '@components/Checkbox';
import MenuItem from '@components/MenuItem';
Expand All @@ -31,7 +30,6 @@ import useReportIsArchived from '@hooks/useReportIsArchived';
import useResponsiveLayout from '@hooks/useResponsiveLayout';
import useResponsiveLayoutOnWideRHP from '@hooks/useResponsiveLayoutOnWideRHP';
import useStyleUtils from '@hooks/useStyleUtils';
import useTheme from '@hooks/useTheme';
import useThemeStyles from '@hooks/useThemeStyles';
import useWindowDimensions from '@hooks/useWindowDimensions';
import {turnOnMobileSelectionMode} from '@libs/actions/MobileSelectionMode';
Expand Down Expand Up @@ -161,7 +159,6 @@ function MoneyRequestReportTransactionList({
isLoadingInitialReportActions = false,
}: MoneyRequestReportTransactionListProps) {
useCopySelectionHelper();
const theme = useTheme();
const styles = useThemeStyles();
const StyleUtils = useStyleUtils();
const expensifyIcons = useMemoizedLazyExpensifyIcons(['Location', 'CheckSquare', 'ReceiptPlus', 'Columns']);
Expand Down Expand Up @@ -483,10 +480,6 @@ function MoneyRequestReportTransactionList({
[groupByItems, currentGroupBy],
);

const openColumnsPage = useCallback(() => {
Navigation.navigate(ROUTES.REPORT_SETTINGS_COLUMNS.getRoute(report.reportID));
}, [report.reportID]);

const groupByPopoverComponent = useCallback(
(props: {closeOverlay: () => void}) => (
<View style={[styles.pt4, styles.pb1]}>
Expand Down Expand Up @@ -652,19 +645,6 @@ function MoneyRequestReportTransactionList({
PopoverComponent={groupByPopoverComponent}
/>
)}
{!shouldUseNarrowLayout && (
<Button
link
small
shouldUseDefaultHover={false}
text={translate('search.columns')}
iconFill={theme.link}
iconHoverFill={theme.linkHover}
icon={expensifyIcons.Columns}
textStyles={[styles.textMicroBold]}
onPress={openColumnsPage}
/>
)}
</View>
{!shouldUseNarrowLayout && !shouldScrollHorizontally && tableHeaderContent}
{shouldScrollHorizontally ? (
Expand Down
Loading