Skip to content

Commit 5aaa32d

Browse files
authored
do not request ble name for bundle < 9
tagging @deXol... not sure what happens if it doesn't get fetched though, especially on the settings GUI side of things
1 parent 52459ba commit 5aaa32d

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/MainWindow.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2157,7 +2157,10 @@ void MainWindow::onDeviceConnected()
21572157
}
21582158
wsClient->sendUserSettingsRequest();
21592159
wsClient->sendBatteryRequest();
2160-
wsClient->sendBleNameRequest();
2160+
if (wsClient->get_bundleVersion() >= Common::BLE_BUNDLE_WITH_BLE_NAME)
2161+
{
2162+
wsClient->sendBleNameRequest();
2163+
}
21612164
}
21622165
displayBundleVersion();
21632166
updateDeviceDependentUI();

0 commit comments

Comments
 (0)