[INJIMOB-2260] change theme to gradient from workflows (#1717)

Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>
This commit is contained in:
abhip2565
2024-11-29 12:31:03 +05:30
committed by GitHub
parent de6bab94f4
commit 8b6d4b0bb7
6 changed files with 12 additions and 12 deletions

4
.env
View File

@@ -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

View File

@@ -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'

View File

@@ -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'

View File

@@ -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 }}"
@@ -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 }}'

View File

@@ -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

View File

@@ -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 {