mirror of
https://github.com/mosip/inji-wallet.git
synced 2026-01-09 13:38:01 -05:00
[INJIMOB-2260] fix missing label (#1677)
Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>
This commit is contained in:
@@ -55,24 +55,6 @@ export const DataBackupAndRestore: React.FC = ({} = () => {
|
||||
style={{paddingRight: 10, paddingTop: 10}}>
|
||||
{t('dataBackupAndRestore')}
|
||||
</Text>
|
||||
{!controller.isBackupAndRestoreExplored && (
|
||||
<LinearGradient
|
||||
colors={Theme.Colors.GradientColors}
|
||||
start={Theme.LinearGradientDirection.start}
|
||||
end={Theme.LinearGradientDirection.end}
|
||||
style={{
|
||||
justifyContent: 'center',
|
||||
height: 20,
|
||||
marginTop: 10,
|
||||
}}>
|
||||
<Text
|
||||
testID="newLabel"
|
||||
style={Theme.Styles.newLabel}
|
||||
color={Theme.Colors.whiteText}>
|
||||
{t('new')}
|
||||
</Text>
|
||||
</LinearGradient>
|
||||
)}
|
||||
</Row>
|
||||
</ListItem.Title>
|
||||
</ListItem.Content>
|
||||
|
||||
@@ -11,6 +11,7 @@ import {
|
||||
SettingsStackParamList,
|
||||
} from '../../routes/routesConstants';
|
||||
import {useTranslation} from 'react-i18next';
|
||||
import LinearGradient from 'react-native-linear-gradient';
|
||||
|
||||
type SettingsNavigation = NavigationProp<SettingsStackParamList>;
|
||||
|
||||
@@ -45,12 +46,22 @@ export const SettingsKeyManagementScreen: React.FC<
|
||||
{t('header')}
|
||||
</Text>
|
||||
{!props.controller.isKeyManagementExplored && (
|
||||
<LinearGradient
|
||||
colors={Theme.Colors.GradientColors}
|
||||
start={Theme.LinearGradientDirection.start}
|
||||
end={Theme.LinearGradientDirection.end}
|
||||
style={{
|
||||
justifyContent: 'center',
|
||||
height: 20,
|
||||
marginTop: 10,
|
||||
}}>
|
||||
<Text
|
||||
testID="newLabel"
|
||||
style={Theme.Styles.newLabel}
|
||||
color={Theme.Colors.whiteText}>
|
||||
{t('NEW')}
|
||||
</Text>
|
||||
</LinearGradient>
|
||||
)}
|
||||
</Row>
|
||||
</ListItem.Title>
|
||||
|
||||
Reference in New Issue
Block a user