mirror of
https://github.com/mosip/inji-wallet.git
synced 2026-01-09 21:48:04 -05:00
feat(INJI-106): add condition to display bluetooth state msg only after nearby permission is given
Co-authored-by: Harsh Vardhan <harsh59v@gmail.com>
This commit is contained in:
@@ -41,7 +41,10 @@ export const RequestScreen: React.FC = () => {
|
||||
if (controller.isNearByDevicesPermissionDenied) {
|
||||
return <NearByPrompt {...props} />;
|
||||
}
|
||||
if (controller.isBluetoothDenied || !isBluetoothOn) {
|
||||
if (
|
||||
(controller.isBluetoothDenied || !isBluetoothOn) &&
|
||||
controller.isReadyForBluetoothStateCheck
|
||||
) {
|
||||
return <BluetoothPrompt {...props} />;
|
||||
}
|
||||
if (
|
||||
|
||||
Reference in New Issue
Block a user