diff --git a/packages/desktop-client/src/components/manager/BudgetList.tsx b/packages/desktop-client/src/components/manager/BudgetList.tsx index c12700fa9a4..37f3f839384 100644 --- a/packages/desktop-client/src/components/manager/BudgetList.tsx +++ b/packages/desktop-client/src/components/manager/BudgetList.tsx @@ -78,24 +78,8 @@ function FileMenu({ const { t } = useTranslation(); const items = [{ name: 'delete', text: t('Delete') }]; - const { isNarrowWidth } = useResponsive(); - - const defaultMenuItemStyle = isNarrowWidth - ? { - ...styles.mobileMenuItem, - color: theme.menuItemText, - borderRadius: 0, - borderTop: `1px solid ${theme.pillBorder}`, - } - : {}; - return ( - defaultMenuItemStyle} - onMenuSelect={onMenuSelect} - items={items} - /> - ); + return ; } function FileMenuButton({ onDelete }: { onDelete: () => void }) { @@ -202,50 +186,60 @@ function FileItem({ } return ( - _onSelect(file)} - title={getFileDescription(file, t) || ''} + ); } diff --git a/upcoming-release-notes/3574.md b/upcoming-release-notes/3574.md new file mode 100644 index 00000000000..2601245c666 --- /dev/null +++ b/upcoming-release-notes/3574.md @@ -0,0 +1,6 @@ +--- +category: Bugfix +authors: [joel-jeremy] +--- + +[Mobile] Fix budget list on mobile auto selecting a budget file under the Switch budget file menu