From 20961b2ea0b9580b341ab41273246b646615a67c Mon Sep 17 00:00:00 2001 From: Caleb Jasik Date: Thu, 13 Feb 2025 11:17:06 -0600 Subject: [PATCH] `dart fix --apply --code=unnecessary_null_in_if_null_operators` --- lib/components/IPAndPortFormField.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/components/IPAndPortFormField.dart b/lib/components/IPAndPortFormField.dart index c9f5ec7..e10942e 100644 --- a/lib/components/IPAndPortFormField.dart +++ b/lib/components/IPAndPortFormField.dart @@ -113,7 +113,7 @@ class _IPAndPortFormField extends FormFieldState { super.didUpdateWidget(oldWidget); var update = IPAndPort( ip: widget.ipController?.text, - port: int.tryParse(widget.portController?.text ?? "") ?? null, + port: int.tryParse(widget.portController?.text ?? ""), ); bool shouldUpdate = false;