Add location, timezone, and long-press switching

This commit is contained in:
2024-01-08 17:40:56 -08:00
parent 20a5fef84c
commit d8c3624f6f
15 changed files with 297 additions and 79 deletions

View File

@@ -136,8 +136,7 @@ void Counter::Create() {
static constexpr uint8_t padding = 5;
const uint8_t width = std::max(lv_obj_get_width(number) + padding * 2, 58);
static constexpr uint8_t btnHeight = 50;
const uint8_t containerHeight = btnHeight * 2 + lv_obj_get_height(number) + padding * 2;
containerHeight = btnHeight * 2 + lv_obj_get_height(number) + padding * 2;
lv_obj_set_size(counterContainer, width, containerHeight);