mirror of
https://github.com/zjs81/meshcore-open.git
synced 2026-04-20 22:13:48 +00:00
fix: reduce rebuilds in los panel
This commit is contained in:
parent
78f1a7b28e
commit
e2585c0992
1 changed files with 1 additions and 1 deletions
|
|
@ -428,7 +428,7 @@ class _LineOfSightMapScreenState extends State<LineOfSightMapScreen> {
|
|||
Widget _buildControlPanel(bool isImperial) {
|
||||
_sanitizeSelection();
|
||||
final segment = _primarySegmentResult();
|
||||
final connector = context.watch<MeshCoreConnector>();
|
||||
final connector = context.read<MeshCoreConnector>();
|
||||
final reportedFrequencyMHz = _normalizeFrequencyMHz(
|
||||
connector.currentFreqHz,
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue