mirror of
https://github.com/mosip/inji-wallet.git
synced 2026-01-09 21:48:04 -05:00
INJI-473) Code clean up and fixing metro errors/warnings (#947)
* feat(INJI-473) - Removed unused injiTourGuide action. Signed-off-by: Swati Goel <meet2swati@gmail.com> * feat(INJI-473) - Removed unused logKey action. Signed-off-by: Swati Goel <meet2swati@gmail.com> * feat(INJI-473) - Removed unused backendInfo api and state. Signed-off-by: Swati Goel <meet2swati@gmail.com> * feat(INJI-473) - simplify isPasscodeSet logic. Signed-off-by: Swati Goel <meet2swati@gmail.com> * feat(INJI-473) - Move logState to commonUtil to remove cyclic dependency. Signed-off-by: Swati Goel <meet2swati@gmail.com> * feat(INJI-473) - Delete unused code. Signed-off-by: Swati Goel <meet2swati@gmail.com> * feat(INJI-473) - Refactor code to use util function for iOS or isAndroid. Signed-off-by: Swati Goel <meet2swati@gmail.com> * feat(INJI-473) - Move Issuers_Key_Ref into utils. Signed-off-by: Swati Goel <meet2swati@gmail.com> * feat(INJI-473) - Remove profile related resource from setting screen Signed-off-by: Swati Goel <meet2swati@gmail.com> * feat(INJI-473) - Remove unused code for locales. Signed-off-by: Swati Goel <meet2swati@gmail.com> --------- Signed-off-by: Swati Goel <meet2swati@gmail.com>
This commit is contained in:
@@ -93,7 +93,6 @@ export const settingsMachine = model.createMachine(
|
||||
},
|
||||
},
|
||||
idle: {
|
||||
entry: ['injiTourGuide'],
|
||||
on: {
|
||||
TOGGLE_BIOMETRIC_UNLOCK: {
|
||||
actions: ['toggleBiometricUnlock', 'storeContext'],
|
||||
@@ -114,6 +113,9 @@ export const settingsMachine = model.createMachine(
|
||||
CANCEL: {
|
||||
actions: ['resetCredentialRegistry'],
|
||||
},
|
||||
INJI_TOUR_GUIDE: {
|
||||
target: 'showInjiTourGuide',
|
||||
},
|
||||
ACCEPT_HARDWARE_SUPPORT_NOT_EXISTS: {
|
||||
actions: [
|
||||
'updateUserShownWithHardwareKeystoreNotExists',
|
||||
@@ -146,13 +148,6 @@ export const settingsMachine = model.createMachine(
|
||||
},
|
||||
},
|
||||
},
|
||||
injiTourGuide: {
|
||||
on: {
|
||||
INJI_TOUR_GUIDE: {
|
||||
target: 'showInjiTourGuide',
|
||||
},
|
||||
},
|
||||
},
|
||||
showInjiTourGuide: {
|
||||
on: {
|
||||
BACK: {
|
||||
|
||||
Reference in New Issue
Block a user