Skip to content

Commit

Permalink
[INJIMOB-2260] change theme to gradient from workflows (mosip#1717)
Browse files Browse the repository at this point in the history
Signed-off-by: Abhishek Paul <[email protected]>
  • Loading branch information
abhip2565 authored and Adityankannan committed Dec 6, 2024
1 parent 19f2ed5 commit 428068d
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ ESIGNET_HOST=https://esignet.qa-inji.mosip.net

OBSRV_HOST = https://dataset-api.telemetry.mosip.net

#Application Theme can be ( orange | purple )
APPLICATION_THEME=orange
#Application Theme can be ( gradient | purple )
APPLICATION_THEME=gradient

#environment can be changed if it is toggled
CREDENTIAL_REGISTRY_EDIT=true
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/android-custom-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ on:
theme:
description: 'Application Theme'
required: true
default: 'orange'
default: 'gradient'
type: choice
options:
- orange
- gradient
- purple
type:
description: 'Apk type'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/internal-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,10 @@ on:
theme:
description: 'Application Theme'
required: true
default: 'orange'
default: 'gradient'
type: choice
options:
- orange
- gradient
- purple
allow_env_edit:
description: 'Edit ENV'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ui-automation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:
env:
MIMOTO_HOST: ${{ github.event.inputs.backendServiceUrlMimoto }}
ESIGNET_HOST: ${{ github.event.inputs.backendServiceUrlEsignet }}
APPLICATION_THEME: 'orange'
APPLICATION_THEME: 'gradient'
CREDENTIAL_REGISTRY_EDIT: 'false'
RELEASE_KEYSTORE_ALIAS: 'androidreleasekey'
RELEASE_KEYSTORE_PASSWORD: "${{ secrets.INJI_ANDROID_RELEASE_STOREPASS }}"
Expand Down Expand Up @@ -149,7 +149,7 @@ jobs:
env:
MIMOTO_HOST: ${{ github.event.inputs.backendServiceUrlMimoto }}
ESIGNET_HOST: ${{ github.event.inputs.backendServiceUrlEsignet }}
APPLICATION_THEME: 'orange'
APPLICATION_THEME: 'gradient'
APP_FLAVOR: 'residentapp'
CREDENTIAL_REGISTRY_EDIT: 'false'
INJI_IOS_TEMP_KEYCHAIN_PASSWORD: '${{ secrets.INJI_IOS_TEMP_KEYCHAIN_PASSWORD }}'
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ ESIGNET_HOST = https://esignet.collab.mosip.net/
OBSRV_HOST = https://dataset-api.obsrv.mosip.net
Telemetry Dashboard = https://druid.obsrv.mosip.net/unified-console.html#workbench
#Application Theme can be ( orange | purple ), defaults to orange theme
APPLICATION_THEME=orange
#Application Theme can be ( grdaient | purple ), defaults to grdaient theme
APPLICATION_THEME=grdaient
#environment can be changed if it is toggled
CREDENTIAL_REGISTRY_EDIT=true
Expand Down
4 changes: 2 additions & 2 deletions components/ActivityLogEvent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ export class VCActivityLog implements ActivityLog {
getActionText(t: TFunction, wellknown: Object | undefined) {
if (!!this.credentialConfigurationId && wellknown) {
const cardType = getIdType(wellknown, this.credentialConfigurationId);
return `${t(this.type, {idType: cardType, id: this.id})}`;
return `${t(this.type, {idType: cardType})}`;
}
return `${t(this.type, {idType: '', id: this.id})}`;
return `${t(this.type, {idType: ''})}`;
}

static getLogFromObject(data: Object): VCActivityLog {
Expand Down

0 comments on commit 428068d

Please sign in to comment.