| 132 | public: |
| 133 | |
| 134 | void onCreate(AppContext& app) override { |
| 135 | steps = { |
| 136 | { |
| 137 | .title = "Time Zone Setup", |
| 138 | .description = "Let's set the time zone.", |
| 139 | .run = [] { timezone::start(true); } |
| 140 | }, |
| 141 | { |
| 142 | .title = "Wi-Fi Setup", |
| 143 | .description = "Let's connect to a Wi-Fi access point.", |
| 144 | .run = [] { |
| 145 | service::wifi::setEnabled(true); |
| 146 | wifimanage::start(); |
| 147 | } |
| 148 | } |
| 149 | }; |
| 150 | } |
| 151 | |
| 152 | void onShow(AppContext& app, lv_obj_t* parent) override { |
| 153 | titleLabel = lv_label_create(parent); |
nothing calls this directly
no test coverage detected