mirror of
https://github.com/zjs81/meshcore-open.git
synced 2026-07-12 11:52:07 +10:00
fix from PR review
This commit is contained in:
@@ -157,8 +157,8 @@ class _PathSelectionDialogState extends State<PathSelectionDialog> {
|
||||
return;
|
||||
}
|
||||
|
||||
// Check max path length (64 hops)
|
||||
if (pathBytesList.length > 64) {
|
||||
// Check max path size in bytes, as defined by the protocol.
|
||||
if (pathBytesList.length > maxPathSize) {
|
||||
showDismissibleSnackBar(
|
||||
context,
|
||||
content: Text(l10n.path_tooLong),
|
||||
|
||||
Reference in New Issue
Block a user