Skip to content

settings.c: quick settings Wi-Fi and BT toggle

lajonss requested to merge lajonss/phosh:wifi-bt-quick-toggles into master

Quick settings Wi-fi and BT buttons were opening the corresponding settings panel.

This commit introduces new behaviour for Wi-Fi and BT quick settings:

  • toggling enabled state on clicked event
  • opening settings panel on long_pressed event

Concerns: #372 (closed) (Quick toggles open settings panels)

Signed-off-by: lajonss l3n1@dupaw.eu

Edited by lajonss

Merge request reports