Skip to content

Commit

Permalink
Restore DrawerView
Browse files Browse the repository at this point in the history
  • Loading branch information
SamuelSalas committed Oct 26, 2024
1 parent b24190d commit 696835c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/components/UI/DrawerView/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ import {
} from '../../../actions/onboardNetwork';
import Routes from '../../../constants/navigation/Routes';
import { scale } from 'react-native-size-matters';
import generateTestId from '../../../../wdio/utils/generateTestId';
import { DRAWER_VIEW_LOCK_TEXT_ID } from '../../../../wdio/screen-objects/testIDs/Screens/DrawerView.testIds';
import {
selectNetworkConfigurations,
Expand Down Expand Up @@ -869,6 +870,7 @@ class DrawerView extends PureComponent {
name: strings('drawer.lock'),
icon: this.getFeatherIcon('log-out'),
action: this.lock,
// ...generateTestId(Platform, DRAWER_VIEW_LOCK_ICON_ID),
testID: DRAWER_VIEW_LOCK_TEXT_ID,
},
],
Expand Down Expand Up @@ -1159,7 +1161,7 @@ class DrawerView extends PureComponent {
? styles.selectedName
: null,
]}
testID={item.testID}
{...generateTestId(Platform, item.testID)}
numberOfLines={1}
>
{item.name}
Expand Down

0 comments on commit 696835c

Please sign in to comment.