1e4130a9cf
When a passkey is displayed, screen on or off, and another passkey is displayed the screen may become scrambled. Fix the issue by insuring the whole screen is drawn every time.
21 lines
364 B
C++
21 lines
364 B
C++
#pragma once
|
|
|
|
#include "Screen.h"
|
|
#include <lvgl/lvgl.h>
|
|
|
|
namespace Pinetime {
|
|
namespace Applications {
|
|
namespace Screens {
|
|
|
|
class PassKey : public Screen {
|
|
public:
|
|
PassKey(DisplayApp* app, uint32_t key);
|
|
~PassKey() override;
|
|
|
|
private:
|
|
lv_obj_t* passkeyLabel;
|
|
lv_obj_t* backgroundLabel;
|
|
};
|
|
}
|
|
}
|
|
}
|