File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ import { useTranslation } from 'react-i18next';
18
18
import { useSync } from '@/hooks/api' ;
19
19
import { connect , getState , syncState } from '@/api/bluetooth' ;
20
20
import { runningInIOS } from '@/utils/env' ;
21
+ import { Status } from '@/components/status/status' ;
21
22
import { ActionableItem } from '@/components/actionable-item/actionable-item' ;
22
23
import { Badge } from '@/components/badge/badge' ;
23
24
import styles from './bluetooth.module.css' ;
@@ -29,7 +30,11 @@ const _Bluetooth = () => {
29
30
return null ;
30
31
}
31
32
if ( ! state . bluetoothAvailable ) {
32
- return < > Please turn on Bluetooth</ > ;
33
+ return (
34
+ < Status type = "warning" >
35
+ { t ( 'bluetooth.enable' ) }
36
+ </ Status >
37
+ ) ;
33
38
}
34
39
return (
35
40
< >
Original file line number Diff line number Diff line change 368
368
},
369
369
"bluetooth" : {
370
370
"connectionFailed" : " failed" ,
371
+ "enable" : " Please turn on Bluetooth" ,
371
372
"select" : " Select your BitBox"
372
373
},
373
374
"bootloader" : {
You can’t perform that action at this time.
0 commit comments