diff --git a/apps/graph/list/text_field_function_title_cell.h b/apps/graph/list/text_field_function_title_cell.h index 29403f5fb..2fdf8f6b6 100644 --- a/apps/graph/list/text_field_function_title_cell.h +++ b/apps/graph/list/text_field_function_title_cell.h @@ -2,6 +2,7 @@ #define GRAPH_LIST_TEXT_FIELD_FUNCTION_TITLE_CELL_H #include +#include #include namespace Graph { @@ -30,7 +31,7 @@ public: protected: KDRect textFieldFrame() const; private: - constexpr static int k_textFieldBufferSize = TextField::maxBufferSize(); + constexpr static int k_textFieldBufferSize = Shared::StorageFunction::k_maxNameWithArgumentSize; Shared::TextFieldWithExtension m_textField; char m_textFieldBuffer[k_textFieldBufferSize]; };