mirror of
https://github.com/selfxyz/self.git
synced 2026-04-05 03:00:53 -04:00
Show NFC support message (#708)
This commit is contained in:
@@ -113,6 +113,9 @@ const PassportNFCScanScreen: React.FC<PassportNFCScanScreenProps> = ({}) => {
|
||||
setDialogMessage(
|
||||
"Sorry, your device doesn't seem to have an NFC reader.",
|
||||
);
|
||||
// Set isNfcEnabled to false so the message is shown on the screen
|
||||
// near the disabled button when NFC isn't supported
|
||||
setIsNfcEnabled(false);
|
||||
setIsNfcSupported(false);
|
||||
}
|
||||
}, []);
|
||||
|
||||
Reference in New Issue
Block a user