Skip to content

Commit

Permalink
[INJIMOB-1279] show tab label as per current language in appium inspe…
Browse files Browse the repository at this point in the history
…ctor (mosip#1404)

Signed-off-by: KiruthikaJeyashankar <[email protected]>
  • Loading branch information
KiruthikaJeyashankar authored May 2, 2024
1 parent 81ac9cb commit 8feff67
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions screens/MainLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import {GlobalContext} from '../shared/GlobalContext';
import {ScanEvents} from '../machines/bleShare/scan/scanMachine';
import testIDProps from '../shared/commonUtil';
import {SvgImage} from '../components/ui/svg';
import {isIOS} from '../shared/constants';

const {Navigator, Screen} = createBottomTabNavigator();

Expand Down Expand Up @@ -59,6 +60,8 @@ export const MainLayout: React.FC<
{SvgImage[`${route.name}`](focused)}
</Column>
),
tabBarAccessibilityLabel: isIOS() ? t(route.name) : route.name,
tabBarTestID: route.name,
}}
/>
))}
Expand Down

0 comments on commit 8feff67

Please sign in to comment.