From 226f14781c81910b7d7152a05353728441792533 Mon Sep 17 00:00:00 2001 From: forntoh Date: Wed, 23 Oct 2024 17:59:38 +0200 Subject: [PATCH] Refactor drawItem method signature for flexibility The drawItem method signature in CharacterDisplayRenderer class has been updated to remove the default parameter for better flexibility and consistency. --- src/renderer/CharacterDisplayRenderer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/CharacterDisplayRenderer.h b/src/renderer/CharacterDisplayRenderer.h index cf399490..9676aced 100644 --- a/src/renderer/CharacterDisplayRenderer.h +++ b/src/renderer/CharacterDisplayRenderer.h @@ -92,7 +92,7 @@ class CharacterDisplayRenderer : public MenuRenderer { * @param value The value of the menu item to be drawn. * @param paddWithBlanks A flag indicating whether to pad the text with spaces. */ - void drawItem(const char* text, const char* value, bool paddWithBlanks = true) override; + void drawItem(const char* text, const char* value, bool paddWithBlanks) override; void draw(uint8_t byte) override; void drawBlinker() override; void clearBlinker() override;