mirror of
https://github.com/zjs81/meshcore-open.git
synced 2026-06-14 22:55:12 +10:00
feat: update license type to nonprofit and add jni to plugin lists; bump dependencies for flutter_local_notifications, package_info_plus, share_plus, flutter_blue_plus_platform_interface, and llamadart
This commit is contained in:
@@ -1883,7 +1883,7 @@ class MeshCoreConnector extends ChangeNotifier {
|
||||
.connect(
|
||||
timeout: connectTimeout,
|
||||
mtu: null,
|
||||
license: License.free,
|
||||
license: License.nonprofit,
|
||||
)
|
||||
.timeout(
|
||||
connectTimeout + const Duration(seconds: 2),
|
||||
@@ -1979,7 +1979,7 @@ class MeshCoreConnector extends ChangeNotifier {
|
||||
return device.connect(
|
||||
timeout: connectTimeout,
|
||||
mtu: null,
|
||||
license: License.free,
|
||||
license: License.nonprofit,
|
||||
);
|
||||
}
|
||||
|
||||
@@ -2088,7 +2088,7 @@ class MeshCoreConnector extends ChangeNotifier {
|
||||
await device.connect(
|
||||
timeout: const Duration(seconds: 15),
|
||||
mtu: null,
|
||||
license: License.free,
|
||||
license: License.nonprofit,
|
||||
);
|
||||
services = await device.discoverServices();
|
||||
} else {
|
||||
|
||||
@@ -232,8 +232,9 @@ class _RoutingSheetBodyState extends State<_RoutingSheetBody> {
|
||||
case _RoutingMode.auto:
|
||||
if (contact.pathLength < 0) return l10n.routing_noPathYet;
|
||||
if (contact.pathLength == 0) return l10n.routing_directNoHops;
|
||||
if (contact.path.isEmpty)
|
||||
if (contact.path.isEmpty) {
|
||||
return l10n.chat_hopsCount(contact.pathLength);
|
||||
}
|
||||
return PathHelper.resolvePathNames(contact.path, connector.allContacts);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user