Skip to content

Commit

Permalink
Merge pull request #1227 from tw-mosip/internal-release-01-02-2024
Browse files Browse the repository at this point in the history
[INJI-766] remove backupAndRestore variable from env file
  • Loading branch information
vijay151096 authored Feb 4, 2024
2 parents f63445f + 01c8c8a commit 6de62fc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 10 deletions.
3 changes: 1 addition & 2 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ APPLICATION_THEME=orange

#environment can be changed if it is toggled
CREDENTIAL_REGISTRY_EDIT=true
#DataBackup can enable if it is toggled
BACKUP_AND_RESTORE=true

DEBUG_MODE=false

#supported languages( en, fil, ar, hi, kn, ta)
Expand Down
2 changes: 1 addition & 1 deletion .talismanrc
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ fileignoreconfig:
- filename: machines/settings.typegen.ts
checksum: e4ae05822f1b1c23f3f70d03dd46fd8f29ba6b52d40f2f24c121f536fbb5f2c4
- filename: .env
checksum: 399e4dadae9dbd22612f48c8583fd64d6f07e9e1fcb0b57a1a8874b056da4b6c
checksum: 387e1fbafb92f58b152b751ec97e8e0e31a699c43e273c61bdedb67f8ee7e453
- filename: .github/workflows/ui-automation.yml
checksum: 0b26a5dcb7524ba15d6aaeaf04f2ef94be9d25ef702d9072d6628bcd58e50f36
- filename: injitest/src/test/java/androidTestCases/PinVcTest.java
Expand Down
9 changes: 2 additions & 7 deletions screens/Settings/SettingScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,7 @@ import {useTranslation} from 'react-i18next';
import {LanguageSelector} from '../../components/LanguageSelector';
import {ScrollView} from 'react-native-gesture-handler';
import {Modal} from '../../components/ui/Modal';
import {
CREDENTIAL_REGISTRY_EDIT,
BACKUP_AND_RESTORE,
} from 'react-native-dotenv';
import {CREDENTIAL_REGISTRY_EDIT} from 'react-native-dotenv';
import {AboutInji} from './AboutInji';
import {EditableListItem} from '../../components/EditableListItem';
import {RequestRouteProps, RootRouteProps} from '../../routes';
Expand Down Expand Up @@ -166,9 +163,7 @@ export const SettingScreen: React.FC<

<AboutInji appId={controller.appId} />

{BACKUP_AND_RESTORE === 'true' && isAndroid() && (
<DataBackupAndRestore />
)}
{isAndroid() && <DataBackupAndRestore />}

{CREDENTIAL_REGISTRY_EDIT === 'true' && (
<EditableListItem
Expand Down

0 comments on commit 6de62fc

Please sign in to comment.