@@ -7,7 +7,7 @@ import { SettingBannerV2 as Collapse } from 'components/Settings/SettingsBanner'
7
7
import MfaImage from 'assets/images/account/security/mfa.svg' ;
8
8
import DiceLogo from 'assets/images/account/security/dicelogo.png' ;
9
9
import DiceLogoBig from 'assets/images/account/security/dicelogobig.png' ;
10
- import GooglePlay from 'assets/images/account/security/google-play.svg ' ;
10
+ import GooglePlay from 'assets/images/account/security/google-play.png ' ;
11
11
import AppleStore from 'assets/images/account/security/apple-store.svg' ;
12
12
import UnsuccessfulIcon from 'assets/images/account/security/unsuccessful.svg' ;
13
13
import Modal from './Modal' ;
@@ -163,7 +163,7 @@ export default function Security({
163
163
</ div >
164
164
< div styleName = "app-store" >
165
165
< div styleName = "market" >
166
- < a href = "https://play.google.com/store/apps/details?id=com.diwallet1" target = "_blank" rel = "noreferrer" > < GooglePlay /> </ a >
166
+ < a href = "https://play.google.com/store/apps/details?id=com.diwallet1" target = "_blank" rel = "noreferrer" > < img src = { GooglePlay } alt = "Google Play Store" /> </ a >
167
167
< QRCode size = { 190 } value = "https://play.google.com/store/apps/details?id=com.diwallet1" />
168
168
</ div >
169
169
< div styleName = "market" >
@@ -201,6 +201,7 @@ export default function Security({
201
201
< div styleName = "step-content" >
202
202
Once the connection is established, the service will offer you a Verifiable Credential.
203
203
< br /> Press the ACCEPT button in your DICE ID App.
204
+ < br /> If you DECLINE the invitation, please try again after 5 minutes.
204
205
</ div >
205
206
</ div >
206
207
</ Modal > ,
@@ -303,8 +304,27 @@ export default function Security({
303
304
Security
304
305
</ h2 >
305
306
< div styleName = "factor-container" >
306
- < div styleName = "icon-wrapper" >
307
- < MfaImage />
307
+ < div styleName = "first-line" >
308
+ < div styleName = "icon-wrapper" >
309
+ < MfaImage />
310
+ </ div >
311
+ < div className = "onoffswitch" styleName = "mfa-switch-mobile" >
312
+ < input
313
+ type = "checkbox"
314
+ name = "eprf-onoffswitch"
315
+ id = "pre-onoffswitch-mfa"
316
+ value = "mfaEnabled"
317
+ checked = { mfaChecked }
318
+ onChange = { onUpdateMfaOption }
319
+ className = "onoffswitch-checkbox"
320
+ disabled = { mfaChecked && diceChecked }
321
+ />
322
+ < label htmlFor = "pre-onoffswitch-mfa" className = "onoffswitch-label" styleName = { mfaChecked && diceChecked ? 'disabled-toggle' : '' } >
323
+ < span className = "onoffswitch-inner" />
324
+ < span className = "onoffswitch-switch" />
325
+ < input type = "hidden" />
326
+ </ label >
327
+ </ div >
308
328
</ div >
309
329
< div styleName = "info" >
310
330
< div styleName = "info-first-line" >
@@ -315,7 +335,7 @@ export default function Security({
315
335
If enabled, MFA will be enforced during the Topcoder login process.
316
336
</ div >
317
337
</ div >
318
- < div className = "onoffswitch" styleName = "on-off -switch" >
338
+ < div className = "onoffswitch" styleName = "mfa -switch" >
319
339
< input
320
340
type = "checkbox"
321
341
name = "eprf-onoffswitch"
@@ -350,7 +370,7 @@ export default function Security({
350
370
</ div >
351
371
{ diceChecked
352
372
? (
353
- < div className = "onoffswitch" >
373
+ < div className = "onoffswitch" styleName = "dice-switch" >
354
374
< input
355
375
type = "checkbox"
356
376
name = "pre-onoffswitch-dice"
0 commit comments