Skip to content

Commit aedf01e

Browse files
committed
Fix region lookup result handling in SerialConfigWizardDialog
1 parent 00807fd commit aedf01e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

lib/core/regions/dutch_region_db.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class DutchRegionDb {
3131

3232
static String info() {
3333
return 'Local Dutch region database: $entryCount locations, '
34-
"${provinceCount} provinces. Source: MeshWiki Lijst van regio's.";
34+
"$provinceCount provinces. Source: MeshWiki Lijst van regio's.";
3535
}
3636

3737
static String provinces() {

lib/features/console/config_dialog.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ class _SerialConfigWizardDialogState extends State<SerialConfigWizardDialog> {
395395
final result = DutchRegionDb.find(prefix);
396396
if (!mounted) return;
397397
setState(() {
398-
_regionLookupResult = result ?? 'No response';
398+
_regionLookupResult = result;
399399
_regionLookupCode = _parseRegionDbPrimaryCode(result);
400400
});
401401
} finally {

0 commit comments

Comments
 (0)