From 89f381a9253c0ad99ef3e05d5bbd5455518ab941 Mon Sep 17 00:00:00 2001 From: jpirnay Date: Sat, 2 May 2026 17:02:34 +0200 Subject: [PATCH] Fix mutable registry access --- src/SdCardFontSystem.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/SdCardFontSystem.h b/src/SdCardFontSystem.h index 3a497689..11457539 100644 --- a/src/SdCardFontSystem.h +++ b/src/SdCardFontSystem.h @@ -24,6 +24,7 @@ class SdCardFontSystem { int resolveFontId(const char* familyName, uint8_t fontSizeEnum) const; /// Access the registry (e.g. for settings UI to enumerate available fonts). + SdCardFontRegistry& registry() { return registry_; } const SdCardFontRegistry& registry() const { return registry_; } private: