Skip to content

Conversation

@danirabbit
Copy link
Member

  • Use requires
  • instantiate objects with properties
  • Don't cache is_secured, we don't re-use it

@danirabbit danirabbit requested a review from a team December 19, 2025 18:03
Copy link
Member

@leolost2605 leolost2605 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, only a minor comment

}

private async void wifi_activate_cb (WifiMenuItem i) {
if (device == null) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it expected behavior that device can be null? If so we shouldn't use required because that will print a warning

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@leolost2605 I don't think it's expected no. I think theoretically this class can't be constructed without a device

@danirabbit danirabbit enabled auto-merge (squash) January 14, 2026 15:25
@danirabbit danirabbit merged commit c243390 into master Jan 14, 2026
4 checks passed
@danirabbit danirabbit deleted the danirabbit/wifiinterface-wifiactivatecb-cleanup branch January 14, 2026 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants