@@ -7,7 +7,7 @@ import { SettingBannerV2 as Collapse } from 'components/Settings/SettingsBanner'
77import MfaImage from 'assets/images/account/security/mfa.svg' ;
88import DiceLogo from 'assets/images/account/security/dicelogo.png' ;
99import 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 ' ;
1111import AppleStore from 'assets/images/account/security/apple-store.svg' ;
1212import UnsuccessfulIcon from 'assets/images/account/security/unsuccessful.svg' ;
1313import Modal from './Modal' ;
@@ -163,7 +163,7 @@ export default function Security({
163163 </ div >
164164 < div styleName = "app-store" >
165165 < 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 >
167167 < QRCode size = { 190 } value = "https://play.google.com/store/apps/details?id=com.diwallet1" />
168168 </ div >
169169 < div styleName = "market" >
@@ -201,6 +201,7 @@ export default function Security({
201201 < div styleName = "step-content" >
202202 Once the connection is established, the service will offer you a Verifiable Credential.
203203 < br /> Press the ACCEPT button in your DICE ID App.
204+ < br /> If you DECLINE the invitation, please try again after 5 minutes.
204205 </ div >
205206 </ div >
206207 </ Modal > ,
@@ -303,8 +304,27 @@ export default function Security({
303304 Security
304305 </ h2 >
305306 < 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 >
308328 </ div >
309329 < div styleName = "info" >
310330 < div styleName = "info-first-line" >
@@ -315,7 +335,7 @@ export default function Security({
315335 If enabled, MFA will be enforced during the Topcoder login process.
316336 </ div >
317337 </ div >
318- < div className = "onoffswitch" styleName = "on-off -switch" >
338+ < div className = "onoffswitch" styleName = "mfa -switch" >
319339 < input
320340 type = "checkbox"
321341 name = "eprf-onoffswitch"
@@ -350,7 +370,7 @@ export default function Security({
350370 </ div >
351371 { diceChecked
352372 ? (
353- < div className = "onoffswitch" >
373+ < div className = "onoffswitch" styleName = "dice-switch" >
354374 < input
355375 type = "checkbox"
356376 name = "pre-onoffswitch-dice"
0 commit comments