fix: move updateBleState to connection page initialization (#3539)

This commit is contained in:
Konstantin Ullrich
2026-08-19 22:11:23 +02:00
committed by GitHub
parent adef1006a7
commit 86906a7f85
3 changed files with 2 additions and 3 deletions
@@ -120,6 +120,8 @@ class ConnectDevicePageBodyState extends State<ConnectDevicePageBody> {
}
if (widget.hardwareWalletVM.hasBluetooth) {
widget.hardwareWalletVM.updateBleState();
_longWaitTimer = Timer(const Duration(seconds: 10), () {
if (widget.hardwareWalletVM.isBleEnabled && bleDevices.isEmpty) {
setState(() => longWait = true);