Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion app/lib/services/devices.dart
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,8 @@ class DeviceService implements IDeviceService {

// Transport exists for this device but disconnected — native handles reconnection.
// Don't dispose and recreate the transport; that would cancel native's auto-reconnect.
if (_connection?.device.id == deviceId) {
// But if force=true (user-initiated), reconnect explicitly.
if (!force && _connection?.device.id == deviceId) {
return null;
}

Expand Down
2 changes: 1 addition & 1 deletion app/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: A new Flutter project.

publish_to: "none" # Remove this line if you wish to publish to pub.dev

version: 1.0.528+795
version: 1.0.528+796

environment:
sdk: ">=3.0.0 <4.0.0"
Expand Down
Loading