fix from PR review

This commit is contained in:
PacoX
2026-05-13 13:44:42 +02:00
parent 94ed729985
commit 4a066e08dc
3 changed files with 13 additions and 11 deletions
+2 -2
View File
@@ -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),